nested if statements

jlabre01

Registered User.
Local time
Today, 03:53
Joined
May 26, 2008
Messages
62
Hi,

I'm working on designing a special invoicing form for my business and in order to do so i need to check a couple different things when it looks for the price, I just wanted to know if nested if statements are possible or not?

jlabre01
 
Yes, nested if statements are possible:

Code:
if condition1 then
 if condition2 then
  dostuff
 else
  dootherstuff
 end if 'condition 2
else
 if condition3 then
  doevenmorestuff
 elseif condition4 then
  doadditionalstuff
 else
  doadditionalstuffevenmore
 end if 'condition3
end if 'condition1

You can go very deep into the nest. How deep? I don't know...so deep I've never hit the limit.
 
ok but how do i do that as a control source for a text box?
 

Users who are viewing this thread

Back
Top Bottom