Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help with views, record buffering and tableupdate()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00343760
Message ID:
00343779
Vues:
25
Ok... Thank you very much!

>>Using VFP5...
>>
>>I have a table (table1) set up with record buffering. I then create an updatable local view from it. I change a field
>>within the view and update as follows:
>>
>>View1 is made up of all records with table1.done<>.t.
>>
>>(for this example it finds one record so...)
>>
>>replace view1.done with .t.
>>=tableupdate()
>>
>>Now when I requery() looking for view1.done<>.t. (as before) the record I just changed still shows up as if the update never
>>happened. The update does happen when I exit the form. Can anyone clue me in to what I'm doing wrong?
>
>Both the view AND the table are buffered, so so need to issue 2 TABLEUPDATES, first the view, then the table. Better yet, don't buffer the table, then you just need 1 TABLEUPDATE, on the view.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform