D
D
Hi:
Can you please tell me how do I do the following:
I have a text field [dealno]; the maximum lenght for it is 9.
ieEALNO Pair Matured Leg 1
FX05875 P Yes
FX05876 P Yes
FX05877A Yes
FX05878B Yes
FX05879 P Yes
FX05879X P Yes L 1
The ones that are the same until X are 'pairs' and have P in Pair field; How
do I get not P for the others??
On the same note how do put L 2 in Leg field for the on with no X??
Below is my criteria that does not work 100%:
Pair: IIf(Right([dealno],1)="X","P",IIf(Mid([dealno],8,1) Not In
("A","B","X",Not Null),IIf(Left([dealno],8)<>"FX????X?","P")))
/****
Leg 1: IIf(Right([dealno],1)="X","L 1")
THANKS A LOT!!!
Dan
Can you please tell me how do I do the following:
I have a text field [dealno]; the maximum lenght for it is 9.
ieEALNO Pair Matured Leg 1
FX05875 P Yes
FX05876 P Yes
FX05877A Yes
FX05878B Yes
FX05879 P Yes
FX05879X P Yes L 1
The ones that are the same until X are 'pairs' and have P in Pair field; How
do I get not P for the others??
On the same note how do put L 2 in Leg field for the on with no X??
Below is my criteria that does not work 100%:
Pair: IIf(Right([dealno],1)="X","P",IIf(Mid([dealno],8,1) Not In
("A","B","X",Not Null),IIf(Left([dealno],8)<>"FX????X?","P")))
/****
Leg 1: IIf(Right([dealno],1)="X","L 1")
THANKS A LOT!!!
Dan