Ok this one was driving me nuts for some time but I finally figured it out.
Make a Single Record Form with a few fields.
In the OnValidate Event have several lines like this:
$name={name};
$code={code};
$pick1={pick1};
if($name=="")
{
sc_error_message(“Name field is mandatory”;
}
if($code=="")
{
sc_error_message(“Code field is mandatory”;
}
///
if($pick1=="")
{
sc_error_message(“You must pick at least 1 Set of credentials”;
}
Notice that I am missing the closing bracket on the sc_error_message function.
Now click Generate Code…
It just hangs and hangs and locks up for some time.
I am using Scriptcase Web… not Desktop.