Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rpt Variable being obstinate
Message
De
06/11/2008 10:03:35
 
 
À
06/11/2008 09:57:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01360157
Message ID:
01360171
Vues:
8
This message has been marked as a message which has helped to the initial question of the thread.
>>>UI have 2 rpt vars: SumBooked and SumQuantity
>>>SumBooked is set to calculate sum of Bookedcolumn
>>>SumQuantity is set to calculate sum of Quantity column
>>>The following happily prints the %age:
>>>
>>>SumBooked / SumQuantity * 100
>>>
>>>But when I convert it thus:
>>>
>>>STR( SumBooked / SumQuantity * 100) +"%"
>>>
>>>all I get is the decimal point.
>>>
>>>What am I missing here?
>>>
>>>'ppreciate it
>>>
>>>Terry
>>
>>Not enough room? What about Transform( SumBooked / SumQuantity * 100) +"%
>
>Well, now 94.17 becomes 94..17 and the "%" doesn't show.
>
>Not enough room is not the reason, as I have already tried expanding the field, but if it is a long string of *************** then what can you do.

Something else must be wrong, tarnsform() does not add any decimal point.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform