G
Guest
I'm wondering if a query can use the value from the previous record if the
field meets a certain critera. I was thinking this would be possible in an
If statement but I don't know what the command would be. For example:
IIF(right([acct no],5)="*OPP1",use previous record,"114")
In this example, if the last 5 digit in the account number equls "*OPP1",
then use the vaule from previous record. If not use "114". Is this at all
possible?
field meets a certain critera. I was thinking this would be possible in an
If statement but I don't know what the command would be. For example:
IIF(right([acct no],5)="*OPP1",use previous record,"114")
In this example, if the last 5 digit in the account number equls "*OPP1",
then use the vaule from previous record. If not use "114". Is this at all
possible?