Hi folks,
I need to create a column to indicate Amount range: [ AmountRangeFlag.]
Starting SQL:
SELECT CustAlert.custID, CustAlert.Status, CustAlert.Amount
FROM CustAlert
ORDER BY CustAlert.Amount
Then:
If CustAlert.Amount 0-1000, then AmountRangeFlag = "A"
If CustAlert.Amount 1001-2000, then AmountRangeFlag = "B" etc...
Is this possible? (Need to drive a report with the SQL)
Thanks everyone.
Milton
I need to create a column to indicate Amount range: [ AmountRangeFlag.]
Starting SQL:
SELECT CustAlert.custID, CustAlert.Status, CustAlert.Amount
FROM CustAlert
ORDER BY CustAlert.Amount
Then:
If CustAlert.Amount 0-1000, then AmountRangeFlag = "A"
If CustAlert.Amount 1001-2000, then AmountRangeFlag = "B" etc...
Is this possible? (Need to drive a report with the SQL)
Thanks everyone.
Milton