I am pulling information from an Access 2000 db to a csv file. In one of the tables (Shipment) the cost and weight fields I need to change the formatting of the numbers. I cannot alter the db so I pull it out in a csv. My problem is the numbers in the cost and weight fields are not set up the way I need them to be Example:
Cost shows 775 instead of 7.75, and 1125 instead of 11.25 the weight field shows 250 instead of 25 and 100 instead of 10. In other words it adds a zero to the end. Is there any way I can fix this before or during the time I export it. Once it exports it goes to a free file where ever the user sends it.
Hopefully I have explained it enough. Could someone please help me with this
Thanks
Bob
Here is the statement I use to pull it out
"SELECT Orders.OrderNo, Shipment.Cost, Shipment.Weight FROM Orders, Shipment, WHERE Orders.m_primaryKey = Shipment.m_foreignKey00"
Cost shows 775 instead of 7.75, and 1125 instead of 11.25 the weight field shows 250 instead of 25 and 100 instead of 10. In other words it adds a zero to the end. Is there any way I can fix this before or during the time I export it. Once it exports it goes to a free file where ever the user sends it.
Hopefully I have explained it enough. Could someone please help me with this
Thanks
Bob
Here is the statement I use to pull it out
"SELECT Orders.OrderNo, Shipment.Cost, Shipment.Weight FROM Orders, Shipment, WHERE Orders.m_primaryKey = Shipment.m_foreignKey00"