Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Rows-Perplexed
Message
 
 
À
09/06/2006 11:08:56
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:
01128128
Vues:
26
Rich,

>I'm a relative newbie to VFP.

Welcome to the zoo!

>I have an app where I add a record, and then I programmatically select the record from a refreshed listbox, and it doesn't find it (but it's there). If I start the program again, then it finds it.

VFP doesn't know intuitively that you've changed the RowSource out from under the control. Use the .Requery() method to have it reread the data any time you change it:
insert into ...
this.Requery()
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