Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sum time field
Message
 
 
À
06/01/2005 09:06: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:
00974686
Vues:
19
How can I help you?

>thank you for reply,
>i try as under,but i get error result .the result is 15
>but the data at myfield as under
>rec1. tim= 10:30:15
>rec2 = 12:30:15
>rec3 = 18:00:10
>rec4 = 10:10:30
>
>i need the result as 51:11:10
>thanks.
>m.qasem
>>You can reuse code from Re: Calculate Time Message #866527
sum CTOT(tim) - CTOT("00:00:00") to lnSec
>>lcTotalTime = PADL(INT(lnSec/3600), 2, "0") + ":" + ;
>>		PADL(INT((lnSec%3600)/60),2, "0") + ":" + ;
>>		PADL(lnSec % 60,2, "0")
>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform