SowleMan
asked on
Using DAO, why does .edit of a record make it disappear?
In the attached VBA code, I don't understand what is happening. I seek a record (successfully) and then go into .edit mode, move correct data into the .fields, then .update the record being updated - and then the record disappears!! When I query after running this code, the original record (the one found using .seek), is gone. The .add branch of the "if .nomatch" clause executes perfectly.
This code is in a form's BeforeUpdate event.
Any ideas?
Thanks.
Steve
Seek-followed-by-edit-and-update.txt
This code is in a form's BeforeUpdate event.
Any ideas?
Thanks.
Steve
Seek-followed-by-edit-and-update.txt
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks to Mr. Coachman - you gave my problem serious thought.
Steve