Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET RELATION question
Message
From
18/11/1998 16:38:41
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00158705
Message ID:
00159013
Views:
21
>>While I would agree that SET RELATION is not as straight forward
>>as a SEEK(), there is NO question that SET RELATION is considerably
>>faster when dealing with large tables. That is why I am putting
>>up with SET RELATION...
>
>Tom,
>
>To answer your original question, yes you do need to move the recor dpointer in the parent table to "kick" the relation in. You can do it faster then GO TOP though, you can issue a LOCATE with no arguments (LOCATE is optimzable and GO TOP is not).
>
>It is also interesting that you find SET RELATION faster than SEEK, as SET RELATION is a SEEK under the hood.

Even a simple:
GO RECNO()
will reset the relation without actually moving the record pointer (unless you are EOF())
Previous
Reply
Map
View

Click here to load this message in the networking platform