I did 1 better by storing the handle in a 4D IP Var. Since I do not
understand how storing a reference to a global collection in the global collection is accessible without knowing the reference, I did not store the
reference to the global collection in a global collection.

A 4D IP Var is not 1 better, it's 1 worse.  ;-)

Instead of:

  <>nGCRef := $myCollection

use:

  globals{"gcref"} := $myCollection



What's wrong with this picture?

The collection you stored was probably not created using 'new global collection'. If you used 'new collection', it was local and was destroyed as soon as On Application Start finished executing.

Kind regards,

   Aparajita
   www.aparajitaworld.com

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

_______________________________________________
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