combine columns/iif expressions

C

Cat

I have 5 different columns of:

Expr1: IIf([arma_UserField]="Mon","1")
Expr2: IIf([arma_UserField]="Tues","2")
Expr3: IIf([arma_UserField]="Wed","3")
Expr4: IIf([arma_UserField]="Thurs","4")
Expr5: IIf([arma_UserField]="Fri","5")

i want to put them in the same column. How do i do this?
Thank you,
 
J

John Spencer

Just to be different. Here is another solution

Choose((Instr(1,"Mon Tues Wed ThursFri",Arma_userField)+4)\5,1,2,3,4,5)

Each day position consists of 5 characters
John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
Expr:IIF(([arma_userField]="mon","1"),IIF([arma_userField]="tues","2"), etc

Cat said:
I have 5 different columns of:

Expr1: IIf([arma_UserField]="Mon","1")
Expr2: IIf([arma_UserField]="Tues","2")
Expr3: IIf([arma_UserField]="Wed","3")
Expr4: IIf([arma_UserField]="Thurs","4")
Expr5: IIf([arma_UserField]="Fri","5")

i want to put them in the same column. How do i do this?
Thank you,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top