Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is SEEK command showing error?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00939863
Message ID:
00939975
Views:
13
I agree - but with the function, I would have to "SET EXACT ON" twice! I know - I know - toooo retentive for my own good - I spent an hour last night trying to make the SEEK command syntax work before I gave up and came crawling to the board:) Borislav burned some time on it and came up with something that works.

I did not know all these enhancements had been made to xBase - I am still using xBase that is 20 years old (almost). It was not till last night I saw all these "new" features. I had to drive em:-)

Thanks



>Terry,
>
>IF FOUND() still works after SEEK() function as it does after SEEK command.
>
>>I wanted to say "Because it's there!"
>>But the real reason is SET EXACT
>>set exact off
>>seek cvar order tag mytag of mytagcdx in mydbf
>>set exact on
>>if found('mydbf)
>>.....
>>endif

>>
>>if I use the function
>>
>>set exact off
>>if seek(ckey,"mydbf","mytag")
>>   set exact on
>>   ......
>>else
>>   set exact on
>>endif
>>Just a "retentive" dude trying to be efficient:)
>>I think the enhancements to xBase are underplayed.One thing that has always bothered me were the number of xBase calls that required a "SELECT MyAlias" before they could be used. Almost sectretly, VFP is offering features that might completely eliminate the required "SELECT"
>>
>>Even ZAP is in the show (ZAP IN MyDBF) - or maybey it's been there for a couple of versions and I've just got around to discovering it. It makes so much sense to have xBase features that reduce the number of hard points to a work area!
>>
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform