Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid problem with SET RELATION TO
Message
From
10/09/2005 10:33:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid problem with SET RELATION TO
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01048399
Message ID:
01048399
Views:
67
I'm having a problem with a grid when using a technique which has worked in many other instances:

My RecordSource is cMyTable. I have set
SET RELATION TO siteid INTO cSiteTable IN cMyTable
and I have a column who's controlsource is cSiteTable.name

When I bring up the form, all the values appearing in this column are the same (the value from the first record in cSiteTable). It's as if I had not set a relation.

When I then focus on the grid by tabbing to it, the values in this column refresh to be what I expected in the first place.

Is the SET RELATION irrelevant until I actually focus on the grid?

Thanks
Jim Nelson
Newbury Park, CA
Next
Reply
Map
View

Click here to load this message in the networking platform