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

Click here to load this message in the networking platform