Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating forms on the fly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00339571
Message ID:
00339847
Vues:
13
Nadya,

I understood you perfectly, you did not understand my suggestion.

1) create a form with a pageframe in it.
2) create grid class for each table needed
3) create a container class with the editing controls for each table, that is one conatiner for one table.

when you run the form you;

DO FORM Whatever WITH "TableName"

In the form's Init you receive the parameter and then put a grid on page one using the grid class for the tabel whose name was passed and put the container on page two using the container class for the table whose name was passed.

This way if in the future there is ever another table that needs this, you just create the grid and container classes and use the same form. This is called reusability, see the form can be reused for other tables without needing any modifications. Also there is only one form to maintain.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform