Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need some help with dataenvironment
Message
De
30/10/2001 10:19:16
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
 
 
À
30/10/2001 02:12:17
Eugene Kolmakov
Millennium Technologies
Vladivostok, Russie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00574886
Message ID:
00575048
Vues:
22
Set AutoOpenTables and AutoCloseTables to .F. in the second form. You shouldn't need a GOTO if the first form's object is linked to the table or if this form has already navigated to the proper record. In theory, you can get away with not putting any tables in the second form's DE but that depends on your data requirements.

HTH
>Hi !
>I have two forms: the first one is the list of the records of a table "Table1" and the second is the edit form representing details of the record user chooses from the list in the parent form. In DataEnvironment of the first form I have only "Table1" table and in the edit form I have the same table and some other tables related to this table. The Data Session I use is "default DataSession".
>
>The problem is when I choose the record in parent form and run the edit form it shows details of the first record no matter wich record I choose in the parent form.
>
>I don't use any commands moving record pointer before running the edit form.
>I think it happens because I have "Table1" table in both parent form's and edit form's DataEnvironments and in the edit form's DataEnvironment there are some Relations added to other tables.
>
>Does anybody know can I solve this without using something like "... Goto nRecordNumber ..." in the edit form ?
Charles Richard
NVO Management Systems
crichard@nvo.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform