Ali Edwards
Registered User.
- Local time
- Today, 23:05
- Joined
- Apr 19, 2001
- Messages
- 68
Hi!
I am trying to evaluate whether several text boxes are null so that certain labels are visible.
If I want to do this with one text box I am using:
If isnull me!textbox1 then
me!label1.visible=true
else
me!label1.visible=false
end if
How can I check if more than one text box isnull?
I kind of want to do:
if isnull ([me!text box1] OR [me!textbox2] OR [me!textbox3]) then
me!label1.visible=true
else
me!label1.visible=false
end if
But it doesn't work no matter how many variations of brackets I use!! Can you use 'Or' or 'AND'? in If-then-else statements?
Many thanks
Ali
I am trying to evaluate whether several text boxes are null so that certain labels are visible.
If I want to do this with one text box I am using:
If isnull me!textbox1 then
me!label1.visible=true
else
me!label1.visible=false
end if
How can I check if more than one text box isnull?
I kind of want to do:
if isnull ([me!text box1] OR [me!textbox2] OR [me!textbox3]) then
me!label1.visible=true
else
me!label1.visible=false
end if
But it doesn't work no matter how many variations of brackets I use!! Can you use 'Or' or 'AND'? in If-then-else statements?
Many thanks
Ali