Versions;
4d 2004.1
A4D 3.0 gave problems with the former (even though I added a rule
QUERY([Component];[Component]DNS="@";*) And ended with
QUERY([Component];&;[Component]DNS="@"))

A4D 3.01b7 solved this problem

You didn't indicate if you were running Active4D on Client or not. I would like to know for future reference.


if(defined(_form{"cbxMType"}))

defined only works with variables. You need to use 'form variables has'.

   if (form variables has("cbxMType"))

Alternately, if it's a checkbox you are looking for, you can do this:

   if (_form{"cbxMType"} # "")

If a collection item does not exist, accessing it returns an empty string.

Regards,

   Aparajita
   Victory-Heart Productions
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com

_______________________________________________
Active4D-dev mailing list
Active4D-dev@aparajitaworld.com
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to