Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh data in a grid
Message
De
20/04/2011 16:27:07
Vernon Chambers
New York City Transit
New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Refresh data in a grid
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01507968
Message ID:
01507968
Vues:
107
Hello All!

I'm having difficulties with the following;

I've a grid populated with data from a table which I create using (without qoutes)

"Select fld1, fld2, fld3, blah2.fld4
FROM blah1, blah2
WHERE blah1.id = blah2.id
AND blah2.fld5 = .T.
INTO TABLE tmpRoster"

.grdRoster.RecordSource = "tmpRoster"
.grdRoster.Refresh

Now the above works fine. However, I've some code based upon a Dbl Click which upon saving, change blah2.fld5 to .F. When I rerun the SELECT statement, it doesn't reflect the change (i.e. in other words the record still show, but the data has been properly updated).

Another thing, when ran in the VFP environment, it works. Within the application, it doesn't.

It's driving me crazy as I thought it would be the simplest way to accomplish this task. What am I missing/not seeing? (I didn't add any other code but focused on what gathers the data)

TIA,

Vernon
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform