Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Target database already involved in a relation?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00382229
Message ID:
00382507
Vues:
18
Robin,
In a private datasession the form is completely separate from any data handling outside the form. You have to reset the relationships in each DS.

In your present situation with a default DS, what tables are opened before you start the forms? Do you use a "close data all" or other command to be sure the form starts with no tables open? Any table open before the form will remain open after the form closes. The form ONLY opens and closes tables in the DataEnvironment. Remember that tables can be opened in the command window or by the MAIN program before your first form opens.

Between form1 and form2 do a Display Status to see what tables are still open.

HTH
Barbara

>Barbara,
>
>I tried using a private session as you suggested, but this seems to mess up my relationships? Is it me?
>
>Also ive had another play with this and I can create the problem with two forms:
>
>First go into 1st form edit then discard changes, then into second form, (which is just FM form) and we get the message? The second form only uses two files
>
>A "stand" file and a exhibition file, and relationship between the two, it is this relationship which seems to be causing the problem.
>
>The first form has these two files open also but not with the same parent child relationship. I've checked the data enviroment of both forms and all seems to be in order?
>
>Regards
>Robin (a little puzzled)
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform