Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another problem: CONTINUE moves to 1st record.
Message
 
 
To
30/07/2001 19:53:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00537487
Message ID:
00537544
Views:
16
>Sergey-
>
>>Is there any reason you are using !EOF("Table_B") instead of FOUND("TABLE_B")?
>>I think !EOF("Table_B") wouldn't work properly if SET NEAR ON.
>

I still don't understand while are you using !EOF("Table_B") instead of FOUND("TABLE_B")

>No, I meant EOF(). I don't use NEAR ON, generally, and missed that that was a criteria of the original post. Was it? IAC, I don't see how it relates. Let's say I have:
>
"PETEBT "
>"PETER  "
>"PTB    "
>And I SEEK("PETERA"). Both SEEK() and FOUND() return .F. All SET NEAR does is position the pointer on "PTB ".
>
>Do you find FOUND() and SEEK() to return different values? Honestly, I've never noticed that.

There was no mention about NEAR ON in original post but it doesn't mean that it's OFF. Yes, FOUND() and SEEK() will return the same value. However you are using EOF() not FOUND() or SEEK(). In case when record is not found the value returned by EOF() would depends on setting of NEAR. On other hand the value returned by FOUND() is always consistent.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform