Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Rows-Perplexed
Message
 
 
À
09/06/2006 11:25:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01128125
Message ID:
01128145
Vues:
25
Rich,

Are you using data buffering? If so you need to run a TableUpdate() before the changes will be committed to the table.

this.Requery() would only work if the insert is happening from inside a method of the listbox. If you are doing the insert from some other method you'll need to use the correct reference to that control ala thisform.lstCustomer.Requery()

>Thanks for the quick response, but am still perplexed. I successfully add a row to a free table, and I see the entry in my listbox. Then I "select" it from the listbox. It then does a LOCATE on the table, and it DOESN'T find it in the table (even though it's there). As I said, if I exit the app and come back in, it finds it ok.
>feel so dumb to be asking what probably is such a basic question.
>I tried putting in this.requery() after the record was saved but got an error message.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform