Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force file to End of File (EOF()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01292787
Message ID:
01292814
Views:
21
This message has been marked as the solution to the initial question of the thread.
If you SET NEAR OFF record pointer will be at EOF on unsucessfull SEEK.

>I had to do a SEEK() function to find the particular sub-data and display it on the form, but when the data isn't found, it still displays the supporting data, which it should not do. I have that supporting data in non-editable textboxes. I want to force the supporting file to EOF() when it doesn't find the related record.
>
>Now, we could get into the other point about why I am going to all this trouble when all I'd have to do "normally" is relate the two tables and display the 2nd table's data on the form. However, the data sits on a pageframe and it does not seem to refresh at all when I go from one record to the next, even though relations were set properly. So, I am jerry-rigging this to force the data to appear by SEEK()ing into the secondary table and then displaying its data with a refresh for those particular textboxes, but I still see data when there is no supporting record (it should not display).
>
>Okay, I just ate a huge amount of chocolate and vanilla ice cream, the first time in a year, so I'm full of sugar now and may not be at my best in writing skills today. :)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform