> all though session{"sv_sAction"} 
> does work if(defined(_form{"cbxMType"})) 
> results in this error 
>Active4D error Expecting a variable.
> if(defined(_form{"cbxMType"}))
> (_form = red and bold)

>Any way to work around these two problems?

The _form{"cbxMType"} returns the value of the variable.  Using this
form you do not have to check for defined.

If (_form{"cbxMType"}) 

End if

Should work.

I normally declare my variables and assign them however - such as : 

C_text($cbxMType)
$cbxMType := _form{"cbxMType"}

It just feels more readable to me.  Plus, I started with the
auto-created variables and adding these items to the tops of the pages
instead is straight-foreward and fun.
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to