Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bound vs Unbound Data
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00599203
Message ID:
00599243
Vues:
24
First:
You can use form properties as ControlSource of single controls as TextBox, EditBox, etc. (the controls that show you a single record of a table/view.)

Second:
you can use Cursors as RowSource of listboxes/combos and RecordSource of Grids (controls that show multiple records of a table/view.)

In our own framework (which allows us to upsize to SQL Server without changing a single line of our code) we have methods of the forms:
READ_DATA, SAVE_DATA, PREV_DATA, NEXT_DATA, PRINT_DATA etc. that make calls to our business objects coresponding method, and after checks for consistency, the data from cursors is fetched to the underlying DataBase (using standard ANSI SQL commands).
(The Form methods are caled from menu system and/or toolbar system, also READ_DATA is called on the LOAD event of the form. We do not use the DataEnvironment object of the form.)

This approach may look a little bit complicated, but it allows us to solve really wide range of problems with it.
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform