D
Dion
I am running a query on a table called tblTransactions.
The fields are as follows:
Transaction ID
Transaction Date
Customer Name
Settlement Date
Number of Transactions
File Total
I am running a query on the fields:
Customer Name
Number of Transactions
I want a calculated field called Monthly Bill. Based on a
running total of the number of transactions, I want the
following results:
If Number of Transactions are <=3, then Monthly Bill= Sum
(Number of Transactions)*16.00 else
If SumNumber of Transactions are Between 4 And 6, then
Monthly Bill= 54 else
If SumNumber of Transactions are >=7, then Monthly Bill=
98.00.
What is the expression in the calculated field? I can't
seem to get the correct syntax for it. Any and all help
is appreciated.
The fields are as follows:
Transaction ID
Transaction Date
Customer Name
Settlement Date
Number of Transactions
File Total
I am running a query on the fields:
Customer Name
Number of Transactions
I want a calculated field called Monthly Bill. Based on a
running total of the number of transactions, I want the
following results:
If Number of Transactions are <=3, then Monthly Bill= Sum
(Number of Transactions)*16.00 else
If SumNumber of Transactions are Between 4 And 6, then
Monthly Bill= 54 else
If SumNumber of Transactions are >=7, then Monthly Bill=
98.00.
What is the expression in the calculated field? I can't
seem to get the correct syntax for it. Any and all help
is appreciated.