-----Original Message-----
Open the query in Design View.
Add a new column to the query:
Exp1: IIf([ANumber]>0,[ANumber],"")
Add another column to the query:
Exp2: IIf([ANumber]<0,[ANumber],"")
Run the query, access will create the SQL.
Change [ANumber] to whatever the actual name is of the Field.
If you want a more useful field name, change Exp1 and Exp2 to whatever you
wish.
--
Fred
Please reply only to this newsgroup.
I do not reply to personal e-mail.
Vince said:
Hi Fred,
Thanks again, but where do I put this? Sorry newbie at
codes...
I am pulling the total form a query thus how do I satisfy
your "FROM YourTable;" ?
It comes from multiple tables?
Thanks again!!!!
Vince
-----Original Message-----
Vince,
SELECT IIf([ANumber]<0,[ANumber],"") AS Exp1, IIf
([ANumber]>0,[ANumber],"")
AS Exp2
FROM YourTable;
--
Fred
Please reply only to this newsgroup.
I do not reply to personal e-mail.
Hi,
I would like to know how to filter all negative numbers
and all positive numbers into two groups respectably.
The field is currency.
What would the query criteria be?
THanks,
Vince
.
.