Hi, I have a problem with a form.
I have a command button for CREATE NEW RECORD, SAVE NEW RECORD, and CANCEL NEW RECORD (I have not displayed the default record navigation buttons).
When the form loads, only CREATE NEW RECORD is visible. Once this button is clicked, CREATE NEW RECORD is invisible and the other two buttons appear. Once the new record is either SAVEd or CANCELed, the SAVE and CANCEL button are invisible and the CREATE button becomes visible again.
Here's the problem:
I also have Record Navigation buttons (<<, <, >, >>) to move between records. If a person goes to the last record using these navigation buttons, the VB code for the CREATE, SAVE, and CANCEL buttons are never run so when adding a new record, the CREATE button still stays visible and the SAVE and CANCEL button don't appear.
How can I solve this problem? Maybe it can be solved with VB, but I'm not sure how. Any help is greatly appreciated. Thanks!
I have a command button for CREATE NEW RECORD, SAVE NEW RECORD, and CANCEL NEW RECORD (I have not displayed the default record navigation buttons).
When the form loads, only CREATE NEW RECORD is visible. Once this button is clicked, CREATE NEW RECORD is invisible and the other two buttons appear. Once the new record is either SAVEd or CANCELed, the SAVE and CANCEL button are invisible and the CREATE button becomes visible again.
Here's the problem:
I also have Record Navigation buttons (<<, <, >, >>) to move between records. If a person goes to the last record using these navigation buttons, the VB code for the CREATE, SAVE, and CANCEL buttons are never run so when adding a new record, the CREATE button still stays visible and the SAVE and CANCEL button don't appear.
How can I solve this problem? Maybe it can be solved with VB, but I'm not sure how. Any help is greatly appreciated. Thanks!