It sounds so simple, yet I've been banging my head over this for over a week now and it's driving me insane! Can someone please tell me what I'm doing wrong?
I have only 1 master table and am trying to create a data entry form form based on some of those fields. The way I have it set up right now is with my form bound to the table, but I want to create some space between it from being automatically saved as entered, by needing to press the "Submit Request (SAVE/ADD RECORD)" button. I also need to validate that 2 fields are NOT NULL before being able to add the record...Need to ensure referential data integrity.
WHAT I'VE DONE SO FAR:
SWITCHBOARD- "click form" (runs macro to:" Open- Form, Go To- RecordNew")
FORM- has a macro set to validate fields: "If- field is null, cancel event, msg box, go to control." <- this works fine
SAVE BUTTON- I tried getting around the issue of a "SAVE" button by adding a macro to the button to "GoTo- NEW RECORD" which would just create a new record to start entering data into (creating the illusion that it just saved by refreshing and going to the next record).
But this is creating problems for me, because when I press the SAVE button, I get the error: "You cannot go to the specified record, because you may be at the end of a record set." then I get the macro error pop up stating the macro "Argument -1, , New'' [Stop All Macros]
(NOTE ALSO) - Each record is time-stamped, and so pressing "Save" (going to "NEW RECORD") is creating ANOTHER new time-stamp upon the next new record, creating false data.
How do I correct this issue?! I feel like I'm going about this the wrong way.
I have only 1 master table and am trying to create a data entry form form based on some of those fields. The way I have it set up right now is with my form bound to the table, but I want to create some space between it from being automatically saved as entered, by needing to press the "Submit Request (SAVE/ADD RECORD)" button. I also need to validate that 2 fields are NOT NULL before being able to add the record...Need to ensure referential data integrity.
WHAT I'VE DONE SO FAR:
SWITCHBOARD- "click form" (runs macro to:" Open- Form, Go To- RecordNew")
FORM- has a macro set to validate fields: "If- field is null, cancel event, msg box, go to control." <- this works fine
SAVE BUTTON- I tried getting around the issue of a "SAVE" button by adding a macro to the button to "GoTo- NEW RECORD" which would just create a new record to start entering data into (creating the illusion that it just saved by refreshing and going to the next record).
But this is creating problems for me, because when I press the SAVE button, I get the error: "You cannot go to the specified record, because you may be at the end of a record set." then I get the macro error pop up stating the macro "Argument -1, , New'' [Stop All Macros]
(NOTE ALSO) - Each record is time-stamped, and so pressing "Save" (going to "NEW RECORD") is creating ANOTHER new time-stamp upon the next new record, creating false data.
How do I correct this issue?! I feel like I'm going about this the wrong way.