Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql on a buffered table--not working
Message
 
 
À
17/04/1999 11:16:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00209361
Message ID:
00209370
Vues:
19
David,

The SQL runs against the raw table not the buffered data, you can use a SCAN loopif you are doing something like summing the data. But SQL won't see the changes until you TableUpdate().

>We have a Visual FoxPro 5.0 application that has the typical one to many relationships among tables. All changes to this data by users are done through screens we have developed. The program buffers and updates all the data if any changes are made. The problem I have encountered is when the data is buffered (and changes to the data are made) and before the update is issued. If I execute a sql statement on this data before the update it returns the results of the data before any of the changes. If I browse the underlying buffered table of the sql it does have the correct data present. Why is the sql statement returning the wrong data?
>
> We have Novell 4.x, Windows 95.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform