Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issues with IF Statement

Status
Not open for further replies.
Mar 20, 2009
102
US
I have the below IF statement that I am inserting into a text box, but for some reason it is checking all 3 boxes as opposed to the one that is actually true:

If {Command.FilingStatus} = 'M' then 'X'
ELSE
If {Command.FilingStatus} = 'S' then 'X'
ELSE
If {Command.FilingStatus} = 'H' then 'X'


What am I doing wrong here? Thanks!
 
Assuming you have 3 text boxes then you want to have 1 statement per box. eg Text box 1 = If {Command.FilingStatus} = 'M' then 'X' Text box 2 = If {Command.FilingStatus} = 'S' then 'X' etc.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top