I have an entry form that has two command buttons. One is save and the other is close.
Both of these button work correctly, when I hit save and come back into the form it is ready for a new record, when I hit close and come back into the form it still shows the same record # as when I started the last record (and nothing is written to the table).
The problem is when I close the form using the X in the upper right and when I tab through the record without entering field information.
When I click the X in the upper right the record is accepted and when I tab through the record, the record is accepted and written to the table. I would like both of these situations to close without saving the record. Only the save button should save the record.
Thanks for any help, GGuy
Both of these button work correctly, when I hit save and come back into the form it is ready for a new record, when I hit close and come back into the form it still shows the same record # as when I started the last record (and nothing is written to the table).
The problem is when I close the form using the X in the upper right and when I tab through the record without entering field information.
When I click the X in the upper right the record is accepted and when I tab through the record, the record is accepted and written to the table. I would like both of these situations to close without saving the record. Only the save button should save the record.
Thanks for any help, GGuy