Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sum time field
Message
 
 
À
07/01/2005 08:14:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Divers
Thread ID:
00974644
Message ID:
00975049
Vues:
26
lnCost = 11.9 
THISFORM.TEXT2.VALUE = ROUND(lnSec/3600*lnCost,2)

>thank you so much,it works,
>i need a faver, i want to multiplay the result time with 11.9$ as
>01:30*11.9=17.85
>
>i'll try but i get result just for hour as..11.9
><pre>
>THISFORM.TEXT1.VALUE= PADL(INT(lnSec/3600), 2, "0") + ":" + ;
>			PADL(INT((lnSec%3600)/60),2, "0")
>			*PADL(lnSec % 60,2, "0")
>
>			THISFORM.TEXT2.VALUE=VAL(THISFORM.TEXT1.VALUE)*11.9
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform