Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Rows-Perplexed
Message
 
 
To
09/06/2006 12:25:39
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01128125
Message ID:
01128204
Views:
17
Rich,

What are all the nondefault from the baseclass listbox? What is the code in your relevant methods?

>Dave:
>I am using buffering. On my form I have a listbox which shows the records in the table. The form also has an add/save button. When I do the "save" I issue tableupdate() and also do the "...requery" to the listbox. As a result, the listbox DOES get refreshed with the newly added row... great.
>Then when I click on the newly added row in the listbox, within the click(), I do a LOCATE on the table, and it never finds the newly added row in the table. It finds all the others ok. It's as if the row has not been committed. I thought the tableupdate() function was supposed to commit changes to a table, but it doesn't seem to be happening here.
>Rich
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform