Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A question about using buffering?
Message
De
06/11/1997 15:22:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00058649
Message ID:
00058704
Vues:
39
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform