On Nov 7, 2006, at 7:54 AM, David Wright wrote:
How does anyone else handle this type of thing?
Create a session collection and put all form and query values in that.
C_LONGINT($attributes)
$attributes := merge collections( query params ; form variables)
session{"attributes"} :=copy collection( $attributes; *)
You can now call each key/value pair using session{"attributes"}
{"<key>"}.
if(session{"attributes"}{"company_name"}#"")
query([Companies];[Companies]Company_Name=session{"attributes"}
{"company_name"})
end if
The session data will remain until you call the code above again, or
you can delete the entire collection with one line:
delete session item("attributes")
HTH
--
Bart Alcorn
National Service Center
800-500-6421 x 2360
AIM/iChat: balcornnsc
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/