Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transform function problems
Message
De
24/01/2007 13:01:13
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/01/2007 10:44:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01188706
Message ID:
01188831
Vues:
15
>I have 2 fields in a SQLServer table defined as money and a form that uses that table to view the data.
>
>The problem I have is the field always shows 4 decimal places in the form. I tried using format to get it to show in a normal currency way. $999,999.99
>After no success I added 2 properties to the for and am trying to use transform to get that data in the correct format.
>
>In thee init and refresh I have this code:
>
>WITH thisform
> .IntVal = TRANSFORM(v_stands.dIntValue, '@B$999,999.99')
> .TimbVal = TRANSFORM(v_stands.dStdTimVal, '@B$999,999.99')
>ENDWITH

You need a space between $ and 9.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform