J
JGS
I am trying to run:
mod1: IIf([procmod1] Not In ("00","26","62","80",
"8T","AA","AD","GY","ST","TC","QK","QS","QX", "QY","QZ"),"0
0",
IIf(([procmod1]="00"),"00",
IIf(([procmod1]="26"),"26",
IIf(([procmod1]="62"),"62",
IIf(([procmod1]="80"),"80",
IIf(([procmod1]="8T"),"8T",
IIf(([procmod1]="AA"),"AA",
IIf(([procmod1]="AD"),"AD",
IIf(([procmod1]="GY"),"GY",
IIf(([procmod1]="ST"),"ST",
IIf(([procmod1]="TC"),"TC",
IIf(([procmod1]="QK"),"QK",
IIf(([procmod1]="QS"),"QS",
IIf(([procmod1]="QX"),"QX",
IIf(([procmod1]="QY"),"QY",
IIf(([procmod1]="QZ"),"QZ",
IIf(([procmod1] Is Null),"00"))))))))))))))))
I can run smaller versions but when I add all the
arguments I need it is too complex. I know there is a way
to do this with visual basic and I am just now teaching
myself visual basic. Can anyone supply me with a walk
though to help. Data base = data1, file = file1
I am using data from a column named procmod1 and
displaying the results in mod1.
Help?
mod1: IIf([procmod1] Not In ("00","26","62","80",
"8T","AA","AD","GY","ST","TC","QK","QS","QX", "QY","QZ"),"0
0",
IIf(([procmod1]="00"),"00",
IIf(([procmod1]="26"),"26",
IIf(([procmod1]="62"),"62",
IIf(([procmod1]="80"),"80",
IIf(([procmod1]="8T"),"8T",
IIf(([procmod1]="AA"),"AA",
IIf(([procmod1]="AD"),"AD",
IIf(([procmod1]="GY"),"GY",
IIf(([procmod1]="ST"),"ST",
IIf(([procmod1]="TC"),"TC",
IIf(([procmod1]="QK"),"QK",
IIf(([procmod1]="QS"),"QS",
IIf(([procmod1]="QX"),"QX",
IIf(([procmod1]="QY"),"QY",
IIf(([procmod1]="QZ"),"QZ",
IIf(([procmod1] Is Null),"00"))))))))))))))))
I can run smaller versions but when I add all the
arguments I need it is too complex. I know there is a way
to do this with visual basic and I am just now teaching
myself visual basic. Can anyone supply me with a walk
though to help. Data base = data1, file = file1
I am using data from a column named procmod1 and
displaying the results in mod1.
Help?