Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working out if record is buffered
Message
De
14/12/2005 11:57:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01077858
Message ID:
01077897
Vues:
40
>>Robin
>>
>>>Hi! I'm using optimistic table buffering. When I come to save away my changes I want to reverse the old order body, then increase the stock bymy new order body thats buffered. How do I miss out the records that have not yet been written to the table (IE they shouldnt be reversed).
>>>
>>>Hope this makes sense
>>
>>Not entirely but:
>>
>>Is GetNextModified() and GetFldState() any good for you?
>>
>>I'm assuming you DON'T want to find if a rec is buffered, as you've just stated that you're using optimistic table buffering.
>>
>>HTH
>>
>>Terry
>
>Thanks for your your help Terry, just for future reference, how would I check if a record is buffered?

You mean to see if the table/record has buffering imposed on it? Then:

CURSORGETPROP(cProperty [, nWorkArea | cTableAlias])

as in

CURSORGETPROP( "buffering", "MyTableAlias")
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform