Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing Data to a table
Message
De
22/01/2010 08:45:45
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
22/01/2010 07:32:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01445422
Message ID:
01445434
Vues:
43
>Hello again!
>i have this statement that runs when i press a button
>
>SELECT * FROM mainbase!v_loansecure  WITH (BUFFERING = .t.)   WHERE type<>"B" INTO table test
>SELECT test
>browse
>
>the problem is when i browse the last value i added isnt shown unless the form is reloaded
>but im confused because i have other statements such as this one. and they work fine i do my select and browse and the data appears the same second is this because im using a view?

Yes. View keeps a copy of the records in its own buffer - the changes need to be written back into the source table using the tableupdate() function. Even without the views, as you saw already, the changes aren't written into the table immediately, unless there's no buffering. Check cursorgetprop("buffering") in help, and setting it too.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform