>>I'm using VFP 5.0a, private data sessions and buffered tables.
>>
>>Form "A" have a grid (based on a view) and a command group ("New", "Modify" and "Delete")
>>Form "B" (modal) have text and edit boxes corresponding to each column in form "A" grid.
>>
>>The reason of the separate form for editing, is that I already have a pageframe on the form "A" and with a 640*480 resolution, I don't have enough space to put another pageframe.
>>
>>"New" call form "B" wich shows empty fields
>>"Modify" call form "B" wich shows the current fields
>>
>>Question: What is the best way to pass informations back and forth between these two forms?
>>
>>Can't use parameters or properties, because of the memo fields.
>>I'm not sure I can access form "A" view from form "B", because of the private data sessions.
>>The only solution I see for now, is using a temporary table to store the information. This is slow and could cause problem if the user open two sessions of the application.
>>
>>Any suggestions?
>
>Firstly, you can access view from form 'A' anytime using Form.Datasessionid and SET DATASESSION. I guess it would be the simplest way. If you want to pass some non-data information you can always store it in some custom properties of form 'A', and refer to form 'A' from form 'B' (it doesn't matter that B is modal form).
Thanks for the response Edward, just what I needed.
Previous
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