Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make query results positive or negative ?
Message
From
13/01/2000 04:58:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How to make query results positive or negative ?
Miscellaneous
Thread ID:
00317439
Message ID:
00317439
Views:
52
I do have a query like: SELECT TYPE, TOTAL from Transaction
which results something like:
TYPE TOTAL
BUY 2000
SELL 1000
SELL 500

However I would like to have the result like this
BUY + 2000
SELL - 1000
SELL - 500

So depending on the TYPE there will be a + / - before the TOTAL.
How can I make that happen ?

Thanks

John

PS: feel free to send suggestions to my private emailaddress
Next
Reply
Map
View

Click here to load this message in the networking platform