Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>You have to be careful using recno because new records in a buffere table may have the same value... don't you have a unique id in the cursor or table being displayed?
>>
>
>New records in a buffered table will not have the same value for their record number. They will have a negative record number until they are committed and then they will have a "real" positive record number.
Sorry, Fred I wasn't being clear enough... I was trying to stress that Recno is not a reliable identifier... If you have a buffered table... your recno may return -1 for a new record. Once those records have have been committed a new record could be added which will could also return -1, or you will have problems determining movement in the grid... I would really avoid the use of recno for this scenario... wouldn't you?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement