Hello Experts,
I have a form (DataEntry) and subform (DataEntrySubform) that allows the user to enter multiple rows of data to TableTemp, upon clicking Submit, VBA code is used to append TableAll with any rows in TableTemp, then delete * TableTemp.
My problem is this. I would like to test to make sure the user has filled out certain columns (some are optional, some are not). I don't want to set the requirement in TableTemp, because users need the freedom to enter data in multiple rows column by column.
I prepared an if statement like this
If IsNull(DLookup("[ColumnA]", "TableTemp")) Or IsNull(DLookup("ColumnB", "TableTemp")) THEN MsgBox "Whoooops!"
But this will not work if there are multiple rows, where perhaps one is completed satisfactorily while another row is not.
Any help you can provide is greatly appreciated!