Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child / grandchild relation not working?
Message
 
 
To
04/09/2008 14:16:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01344895
Message ID:
01344910
Views:
32
This message has been marked as the solution to the initial question of the thread.
>Hi All,
>
>I have 4 tables related.
>The first table only holds the main primary key of the records being looked at.
>The second table (sec_tbl) I have set relation to the first table on the main primary key. One to one match.
>
>The third table (thi_tbl) is set to relationship with the second table on the primary key. One to many match.
>
>The fourth table is set with a filter on the primary key in the third table. One to many match.
>
>My problem is that my third table, which shows only one field (not the primary key) in a grid, is showing all of the records, even the ones that do not belong to the current primary key selected in the first table.
>
>I thought, my third table grid only showed the records for that primary key, before I started experimenting on this form to narrow the list of primary keys.
>
>Am I imagining things? Or what did I do wrong?
>
>
>TIA,
>Beth

I think it would be easier for you to set up local p-views or CursorAdapters and refresh them when you navigate to next record.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform