G
Guest
I need to check a the length of text of dropdown box control in child form.
For example:
If Len(Me!childform.MyDropdown.text) = 0 then
response = msgbox('You need enter some data', vbYesNo)
end if
I got can not reference control without set focus.
I may setfocus before if statement, but I have 5 controls to check in one if
statement. How can I set focus to 5 controls at same time.
Please let me know if I am not in right direction,
Thnaks millions,
For example:
If Len(Me!childform.MyDropdown.text) = 0 then
response = msgbox('You need enter some data', vbYesNo)
end if
I got can not reference control without set focus.
I may setfocus before if statement, but I have 5 controls to check in one if
statement. How can I set focus to 5 controls at same time.
Please let me know if I am not in right direction,
Thnaks millions,