Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Data Environments
Message
 
À
24/04/1997 09:50:54
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00029530
Message ID:
00029551
Vues:
22
>Back again. I'm getting some funky things going on when trying to create data environments for my forms (I'm quite new at this). I can't seem to figure out the logic for "dragging" the relations into place between tables/views. I often get the circle with the bar through it indicating I can't create the relations I want.
>
>I can't figure out when to start/end a relation from a field or an index and from which table to which one (parents and children) for one-to-one, one-to-many and many-to-many relations.
>
>Your thoughts?


I am also quite new at this, but I seem to have got it working, heres how:

The parent is the table from which you grab the field and the child is the table you drag it to. From my experience, you can only relate fields with the same name, and when you drag the relation line from one field to another, Visual FoxPro keeps the relation on the field of the Parent, but moves the relation line to the index of the child.

The way I finnaly figured this out was to select the actual line in between the tables and right-click on it to select properties. The properties box will have a parentalias and a childalias to let you know which direction the relation is going.

Hope this helps.

Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform