From the code you posted, no, I'm afraid I don't know why it would be happening that way.
While I'm here, though, if your form fields are bound to the data, and you are emptying them out while sitting on the last record of your table, aren't you destroying the data in that record?
Alan
>Alan,
>That makes sense and I'll adjust the code accordingly. The only thing I don't understand is why it works correctly when I click on the Add button the second time. I've checked and in both cases, I'm sitting on the same record in this table (the last one -- NOT eof!) I've confirmed that I'm in the correct work area, as well. Any thoughts on that?
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