General information
Category:
Forms & Form designer
>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
So, you have a grid of data, and you want to launch a second grid of the same data to edit?
How about doing a create cursor from the original cursor... append the data to it, use that cursor as the rowsource of your second view? You can do this all in the same data session.
BOb
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