Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with grid display and SET RELATION
Message
From
21/03/2005 14:35:18
 
 
To
21/03/2005 13:46:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00997872
Message ID:
00997926
Views:
13
>>What I actually had (since replaced by your suggestion ...) was:
>>
>>for grid1:
>>
USE MyTable AGAIN in 0 ALIAS MyTable1
>>USE MyJobs AGAIN in 0 ALIAS MyJobs1
>>SET RELATION to Jobidnum IN MyTable1 INTO MyJobs1
>>Similary, for grid2:
>>
USE MyTable AGAIN in 0 ALIAS MyTable2
>>USE MyJobs AGAIN in 0 ALIAS MyJobs2
>>SET RELATION to Jobidnum IN MyTable2 INTO MyJobs2
>>Now, this failed, so all I trying to understand is why it does fail, as I thought using separate files like this gave me separate record pointers.
>>
>Hi Jim,
>
>PMFJI, but I think the problem is you didn't use the ADDITIVE keyword when you set up the second relationship. This would release the previous relationship.
>
>HTH,

There is also no SELECT MyTable 1 or 2, so the relationship is being set for the current workarea.

oooppppsssss.

Forgot to notice the IN MyTable piece of the SET RELATION statement.

Wish I could simply delete original post
Previous
Reply
Map
View

Click here to load this message in the networking platform