>>>>>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
Ok that's helpful. Thank you. I may not be the best person to
help you with this problem. You might look at one thing though. Get
Where is the record pointer after the tableupdate(). Other than
that maybe someone else would be more helpful.
Dan
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only