Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing a debit to negative amount
Message
De
07/12/1999 11:52:36
 
 
À
07/12/1999 11:41:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00299782
Message ID:
00299807
Vues:
26
>John
>
>Thank you,
>My question is how do I also include all of the other fields in the database.
>

Modifying the code in John's example:

SELECT *, IIF(dbcr_in="C",trans_amt,-(trans_amt)) AS value FROM table

You can also explicitly specify each field you want.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform