I want to store the results of a form submission in my own collection for use later.

What does "later" mean? Later in the same request, or later in another request.

Is this per-user? If so, you should be using the session.


I was under the impression that as the variable is not a local, it will be global in its scope. However if I try to access this collection in another page (i.e. a4d.debug.dump collection (savedFormCollection)) I get an error.

A process variable is global to the request in its scope, but only lives as long as the request. That's why you get an error.


How do I reference a global collections handle/variable?

If I name the collection <>savedFormCollection everything works.

As I mentioned earlier, you should either be storing it in the session or in the globals collection. Process/interprocess variables should not be used if you can help it.

Regards,

   Aparajita
   www.aparajitaworld.com

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


_______________________________________________
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