Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A question about using buffering?
Message
From
06/11/1997 15:22:23
 
 
To
06/11/1997 14:51:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00058649
Message ID:
00058704
Views:
33
>>>>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
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform