How can I display a Field based on a condition?
Ex. Table name Banks with field DEPOSIT AND DISBURS
I want to display only the field that has a value
DEPOSIT or DISBURS
if try the following Events onInit
if ({DEPOSIT} <> 0)
{
sc_field_display({DISBURS},off);
}
else
{
sc_field_display({DEPOSIT},off);
but go an error message that I cannot identify
Parse error: syntax error, unexpected ‘;’, expecting T_FUNCTION in C:Program Files
etmakev5wwwrootscriptcaseappecogazform_banks_1form_banks_1_apl.php on line 4192
Please assist me!