>Hi all-
>
>I need to pass all of the data associated with a grid, including the grid layout and the data for its rowsource to another form which will be used to edit the data. The rowsource data is a cursor which is the result of a lot of processing (xtabs etc). The second form cannot share the datasession of the first because the first still needs to be able to navigate to allow the user to view previous versions of the data while editing the current data in the 2nd form.
>
>I could put everything (grid structure, cursor) into arrays and pass them when the 2nd form is instantiated, but I wondered if there's a better way.
>
>Carlie
You might find using a Parameter Object useful in passing large amounts of data between forms. This can also be simplified by using the SCATTER...NAME command. Also see Fred Taylor's FAQ#7810.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up