G
Guest
I have a form with 4 lines of info containing 12 textboxex/comboboxes. Each
line starts with a Y/N check box.
I would like to check each textbox/combobox for data, and if it exists,
prompt the user to confirm they wish to remove the data from that line.
Currently I am using:
If Not IsNull([Unit1Region]) Then
If MsgBox("my message", vbYesNo) = vbYes Then
Me.Unit1region = Null
I want to avoid using If Not IsNull for all 12 ( X 4 lines)
textboxes/comboboxes, but I don't know of a more efficient method.
Any advice is always appreciated.
Cheers
line starts with a Y/N check box.
I would like to check each textbox/combobox for data, and if it exists,
prompt the user to confirm they wish to remove the data from that line.
Currently I am using:
If Not IsNull([Unit1Region]) Then
If MsgBox("my message", vbYesNo) = vbYes Then
Me.Unit1region = Null
I want to avoid using If Not IsNull for all 12 ( X 4 lines)
textboxes/comboboxes, but I don't know of a more efficient method.
Any advice is always appreciated.
Cheers