hello,
I am trying to find a code. I would like to check all the controls on a form, if null, then msg box to alert. Looking for something like:
if isnull(me.formALLCONTROLS) then
msgBox "no empty fields allowed"
end if
New record is then allowed
BTW, setting the fields on the table level to required has not worked, i have many subforms and it still allows a new record to be added.
Thanks,
Mi
I am trying to find a code. I would like to check all the controls on a form, if null, then msg box to alert. Looking for something like:
if isnull(me.formALLCONTROLS) then
msgBox "no empty fields allowed"
end if
New record is then allowed
BTW, setting the fields on the table level to required has not worked, i have many subforms and it still allows a new record to be added.
Thanks,
Mi