I fell back on my VB programming once again, but I’m sure there is an easier way to handle this in Access.
So here is the deal. I have a table with 15 or so fields in it. I need the user to on occasion add another row to the table. Nine of the fields are required but the rest can be left blank. It needs to be an all or nothing sort of thing. Either they populate the 9 fields or no new row can be added.
What I ended up doing was using the AutoForm button to create a form and then broke the bounds on the form. I then added a Save button and an If…Then block to make sure the 9 text boxes had data before I save the record.
Is there an easier way to validate only 9 of the 15 text boxes on the form before the records is saved.
So here is the deal. I have a table with 15 or so fields in it. I need the user to on occasion add another row to the table. Nine of the fields are required but the rest can be left blank. It needs to be an all or nothing sort of thing. Either they populate the 9 fields or no new row can be added.
What I ended up doing was using the AutoForm button to create a form and then broke the bounds on the form. I then added a Save button and an If…Then block to make sure the 9 text boxes had data before I save the record.
Is there an easier way to validate only 9 of the 15 text boxes on the form before the records is saved.