Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Hi Harry
If the config table is open throughout the life of the form, instead of using memory variables at all, just reference the fields directly.
config.fieldname instead of m.fieldname.
>I'm having a problem with SCATTER, (it creates the memvars, but doesn't populate them when I issue the command in the INIT of a form). The form is an update for a CONFIG table. The table is opened when the main program is started and remains open until the application is closed. In the INIT of the form I issue the "SCATTER MEMVAR" command. The debugger shows that the memvars are created, but empty. I tested with a small program to open the table, issue the "SCATTER MEMVAR", and it works fine.
>
>I tried "SCATTER NAME oTemp", which created the object with properties for each of the fields in the table, but the object was not visible to the controls on the form that had the control source for that object.
>
>Any suggestions?
>
>Thanks in advance,
>
>Harry
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only