>>>>I am using the cursorsetprop(buff,3 or 5).
>>>>When I append the first record and save it, my
>>>>record pointer says one. When I append the second
>>>>record, the record pointer says one again.
>>>>any ideas?
>>>
>>>why are you worried about the record number? are there two records the second time you add? btw, when using optimistic table buffering, the record numbers are assigned in descending order starting at -1...
>>The record pointer moves back by one, right after this line:
>> thisform.pageframe1.page2.pageframe1voucher.activepage=2..
>>do you know why?
>
>
>I think we could be of more help to us if you attach the code
>in your save method.
>:)
>
>Dan
here it is..
if m_buffer_mode = .t.
=tableupdate(1,.t.,'mytable')
endif
cur_rec = recno()
thisform.mycombo.requery()
goto cur_rec
m_buffer_mode = .f.
m_add_mode = .f.
thisform.refresh