Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET RELATION TO and Index Tag
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SET RELATION TO and Index Tag
Miscellaneous
Thread ID:
01670100
Message ID:
01670100
Views:
85
Hi,

When you SET RELATION TO, in order to update one cursor from another, do both cursors have to have the index build (and set) on the field used for the relation?

The reason I am asking is when I was doing a small test of two cursors I only created an index on the Target cursor (the one which has the SET RELATION TO set). And it worked in my test case. But when I do it in the program code, it does not work. But once I build an index on the cursor TO which the relation is set, it works.
What am I missing?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform