I've been searching here and afar for how best to do this. I think I would prefer to have it in the VBA as opposed to simply native Access rules/design but I could be wrong. Here Goes.
I have a single form with a variety of fields (not all) that I need validated to be "Not Null" (meaning I dont want people to leave them blank)
They range from text inputs, to listboxes.
I also have a "Save Form" button as well as a "EDIT" button which allows the user to correct edited entries, (which are non-editable by default).
I would prefer not to use the "Required" function on the table for two reasons:
1. The error message isnt adaptable (to my knowledge) to tell the user what he/she failed to input as it references the Table.Field_Title and not the "Label" on the Form.
2. It does not redirect the "FocusOn" back to the field in the form that needs attention.
I'm not as fluent in VBA to likely understand if you simply give me a "hint"
, but would much appreciate and actual CODE: example or a link to a good example/template/tutorial.
Again.. The Goal is that when a User fails to fill out certain fields in the FORM, he/she will not be allowed to save the form, but be redirected to fill in the mandatory fields.
Appreciation in advance
I have a single form with a variety of fields (not all) that I need validated to be "Not Null" (meaning I dont want people to leave them blank)
They range from text inputs, to listboxes.
I also have a "Save Form" button as well as a "EDIT" button which allows the user to correct edited entries, (which are non-editable by default).
I would prefer not to use the "Required" function on the table for two reasons:
1. The error message isnt adaptable (to my knowledge) to tell the user what he/she failed to input as it references the Table.Field_Title and not the "Label" on the Form.
2. It does not redirect the "FocusOn" back to the field in the form that needs attention.
I'm not as fluent in VBA to likely understand if you simply give me a "hint"

Again.. The Goal is that when a User fails to fill out certain fields in the FORM, he/she will not be allowed to save the form, but be redirected to fill in the mandatory fields.
Appreciation in advance
