I was hoping something like the following would work, but it doesn't seem to.

method "SaveFormToLocals"
   c_longint($it)
   c_pointer($var_p)

   $it := form variables
   while(more items($it))
      $field := get item key($it)
      $var_p := Get pointer($field)
      $var_p->:=get item value($it)
      next item($it)
   end while    
end method

Have you verified the 'get pointer' call is working as expected? Are you actually naming your form fields something like "[mytable]myfield"?

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