Microsoft
Software
Hardware
Network
Question : Negative Values in a Numeric Field
Hi Guys,
This is probably an easy question and hopefully someone will quickly point out where I'm going wrong.
I'm importing some data from a CSV file into a table in Visual FoxPro 9.
One of the fields I am importing has a negative value "-123.00". I want to remove the minus sign from the start on the number. I can't figure out the best way to do it.
Also it would be handy to know how to do the opposite. Make a posative number "123.00" a negative number "-123.00".
I'm sure this is probably basic stuff, I just can't get my head round it.
Thanks in advance
David
Answer : Negative Values in a Numeric Field
After you import, you can give
UPDATE YourTable SET YourField=-YourField WHERE YourField<0
Random Solutions
how so I get the uniqueidentifier after insert in SQLEXPRESS?
Build SQL statement from a form
Installing SQL Server 2008 64-bit on Windows Server 2008 64-bit
Access VBA to test for login or logout status ( If then Next)
Open Visual Foxpro DBF file without FPT filed
SQL Reporting Services - Service Unavailable
Access 2003 upgrade - user unable to launch parameter queries, or use Report preview button.
Dell Vista error code 7B, hang at black screen after login, factory retsore
How to - disable 'Confirm open after download' in Vista for sharepoint
GLIBCXX_3.4.9' not found C++