Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requerying list box moves record pointer?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00507393
Message ID:
00507688
Views:
23
No, it is definitely the requery. I stepped through the code and watched it change. I can even requery the listbox from the command window at that point and it will change. If I try and requery from the command window in other points in my code, though, it does _not_ change the record pointer, no matter how many times I do it. It's very strange.

Thanks,

Michelle


>Michelle,
>It looks like some other code is resetting the record pointer before your requery(). The most probably way is that you're rebuilding the cursor - which would of course put the pointer at the first record. Have you tried setting a break point on the record number or value of the cursor?
>
>HTH
>Barbara
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform