Information générale
Titre:
Passing informations between forms
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?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement