Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a listbox populated by a local view
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00029421
Message ID:
00029429
Views:
20
>Hello all,
> I am having a fun time trying to refreshing a listbox populated by a local view. I have been able to delete records from a source table but not update the view without exiting and returning to the form. I have tried refreshes of all shapes and sizes...
>
> What the heck am I doin wrong?
>TIA.

Requery is the command you are looking for.
Refresh will update which item in the listbox is selected if the listbox
is bound to a table/cursor and you move the record pointer. If you change the items on the list, use the requery event.

HTH
Todd Burstain, MD
infinitydoc@delphi.com
Previous
Reply
Map
View

Click here to load this message in the networking platform