Hi,
I've set up an access database and in one of the fields in my table the numbers are stored as text and negative numbers have a "-" character preceding them. When I change the field data type from text to numbers in the SQL, I lose the negative values from my output.
ie. in my code below, negative numbers are not being picked up by the select statement - only positive numbers are being captured.
-------------------------------------------------------
SELECT val(nz([db].[value])) as myamount,
from [db]
-------------------------------------------------------
Thanks in advance for any help you can offer.
Kim
I've set up an access database and in one of the fields in my table the numbers are stored as text and negative numbers have a "-" character preceding them. When I change the field data type from text to numbers in the SQL, I lose the negative values from my output.
ie. in my code below, negative numbers are not being picked up by the select statement - only positive numbers are being captured.
-------------------------------------------------------
SELECT val(nz([db].[value])) as myamount,
from [db]
-------------------------------------------------------
Thanks in advance for any help you can offer.
Kim