Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Practices for N-Tier Forms
Message
De
15/10/2010 22:23:15
 
 
À
15/10/2010 08:01:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01485511
Message ID:
01485687
Vues:
47
TC,

That is what I typically do. Many forms will have a grid for browsing and a data entry section on the same form, or the main form will only have the fields for displaying editing and the toolbar. When you click search you enter the values you wish to search on and then a separate form with a "result" grid on it pops up with the result. You select the record you wish to view on the main form and the browseable grid form goes away. However, that same result set is used in the main form so you can step through the records using the toolbar. The nice thing about that is you can use the same result grid form from any form that calls it - you just pass the result set to it or you pass the query and dynamically display the columns.

How did you pass the result set from the form with the browseable grid back to the 'main form'? Does the browseable grid form have a Default Data Session? Can cursors be passed as parameters to a form?

Dennis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform