G
Guest
I have a query with the following fields:
[Period] - 1/1/05, 2/1/05, 3/1/05 etc...
[Client] - Client code
[IEAmount] - dollar amount of IE's during this period
[AdjIEAmount] - The expression field I can't seem to get right.
So for each of my 10 clients, the query generates a record creating
consecutive periods. the IE amount is pulled from a sunquery and links based
on [client] and [period]. However, sometimes there is no corresponding
[IEAmount] for a particular month. What I'm trying to do with my expression
field is say If [IEAmount]>0,[IEAmount], The use the [IEAmount] from the
prior period.
It's obviosly the FALSE clause I'm having trouble with.
[Period] - 1/1/05, 2/1/05, 3/1/05 etc...
[Client] - Client code
[IEAmount] - dollar amount of IE's during this period
[AdjIEAmount] - The expression field I can't seem to get right.
So for each of my 10 clients, the query generates a record creating
consecutive periods. the IE amount is pulled from a sunquery and links based
on [client] and [period]. However, sometimes there is no corresponding
[IEAmount] for a particular month. What I'm trying to do with my expression
field is say If [IEAmount]>0,[IEAmount], The use the [IEAmount] from the
prior period.
It's obviosly the FALSE clause I'm having trouble with.