Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Data Environments
Message
From
24/04/1997 15:21:01
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00029530
Message ID:
00029589
Views:
28
>>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.

Thanks much. It makes sense (doesn't it always until it doesn't work ;^) ) and I'll give it a try.

Mandy
Previous
Reply
Map
View

Click here to load this message in the networking platform