Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Relationships
Message
 
À
25/08/1997 20:12:44
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00046820
Message ID:
00046837
Vues:
28
>Hi Everybody:
>I have relationships set visually in the data environment of a form
. In another form , I have relationships set up in the Load event of the form. When I move from to I get an "already in a relation error". Do I need to break the relationships in before calling ? Doesn't the Load() event fire before the Init() event? What is the best way to handle this when I re-enter , do I just call form.Load()? Am I babbling or what?
>
>Ed

Ed are you using the default data session for both forms? If so, consider using Private datasessions so relations in one form don't affect those in other forms.

Load() DOES fire before INIT(), but if a form is already loaded, and you are in the default datasession you will see the existing relationships.

Also, HTML reads any text in ( < ) and ( > ) signs as HTML codes. To make sure your text is entirely visible, put spaces around the text inside the symbols, or use quotes or parens to set off information. (Now lets hope I did it right and my suggestion is legible)

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform