Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DR instead of DB
Message
 
 
À
26/08/2008 13:16:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01341863
Message ID:
01341885
Vues:
10
I think you should just go with TRANSFORM.

>Thank you.
>By the way how will this work in Reports?
>There are check boxes for CR if Positive DB if negative or i just have to use TRANSFORM() ?
>
>
>>>>What exactly do you mean here?
>>>
>>>A word to the wise. :)
>>>
>>>In TRANSFORM we can format the data.
>>>
>>>@C Appends CR to positive Currency or Numeric values to indicate a credit.
>>>
>>>@X Appends DB to negative currency or numeric values to indicate a debit.
>>>
>>>I want DB to be DR which is standard for Debit at least in accounting books.
>>>How can i achieve this in VFP?
>>
>>
>>? CHRTRAN(TRANSFORM(-1231,[@X]),[B],[T])
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform