Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serious REQUERY() Bug Update LP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00816081
Message ID:
00816122
Views:
25
>> One note here: REQUERY() returns a value to tell you whether the REQUERY succeeded or not. Your
>>code really needs to check that value. If it's returning 1 and still not giving you the correct
>>data, _then_ we have problems.
>
>Garret, I respectfully disagree. I have a VFP v6 app running at 10 hospitals and over 80 clinics
>that has worked fairly flawlessly (expect for our screw ups) over the past 10 years. When we ported
>to v8, all of the sudden we get calls that records are not coming up or that our app message says
>the record is unavailable. Even if we test for < 1, what gives? How could VFP6 consistently return
>the REQUERY(lcAlias) results and VFP8 cannot.

I don't know what gives: that's why I'm trying to help you nail this down hard, so the Fox team can fix it. If it returns 0, then it's probably a problem with something other than REQUERY(). If it returns 1 and still doesn't give the correct data, that narrows the possibilities down tremendously.

I just tried adding an ON ERROR STRTOFILE() immediately before the REQUERY(): the behavior stopped occuring. When I commented it out again, I saw the behavior return.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform