Rob
|
| Posted: 02/01/2005, 5:04 AM |
|
How can I do this:
I want to show a record with a listbox, but when the listbox is empty I want to show a special message (no data available).
Something like this in a before show field:
if ($fldlistboxitems == "") {
??what here??
}
I uses CC
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 02/02/2005, 2:43 AM |
|
Rob,
In CC open Validate event of a form and add error to $sFormNameError variable (of course you need to use real form name). E.g. for the form “Results” use:
If($fldlistboxitems == "")
$sResultsErr = "custom error message";
_________________
Regards,
Nicole |
 |
 |
|