Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sync'ing up a view with the underlying table
Message
 
To
02/06/1998 13:47:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00104096
Message ID:
00104101
Views:
23
Robert,

If you just "opened" the view on the form and bound it to the listbox, then you have to re-select the view and issue a "REQUERY()" before the listbox will see the changes. If the properties of the listbox are for obj.RowSource = 3 (SQL-Statement), then obj.Requery() should work.

Another possible cause of the problem is table buffering mode... If the form is set for buffering and the record was not committed, any requerying will always go back to the physical table rather than the "in memory" version of the table.

Hope this helps...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform