>>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.