Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
White page
Message
De
14/01/2005 15:52:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Divers
Thread ID:
00977337
Message ID:
00977348
Vues:
33
hi,
yes ,it works
thanks so much,
this code under print time at myform, if i remove sign ? i get error message,and i want to sum a nother fields , i must make the same code for every field. any help idea
SUM CTOT(plan) - CTOT("00:00:00") to lnSec
 ? PADL(INT(lnSec/3600), 2, "0") + ":" + ;
				PADL(INT((lnSec%3600)/60),2, "0") + ":" + ;
				PADL(lnSec % 60,2, "0")

SUM VAL(LEFT(plan,2))*3600 + ;
	VAL(SUBSTR(plan,4,2))*60 + ;
	VAL(RIGHT(plan,2)) TO lnSec

THISFORM.TEXT10.VALUE= PADL(INT(lnSec/3600), 2, "0") + ":" + ;
				PADL(INT((lnSec%3600)/60),2, "0")  
m.qasem

>That's because Table1 is used somewhere before:
>
>old_alias = ALIAS()
>flag_use = .f.
>IF .NOT. USED("Table1")
>   SELECT 0
>   USE table1
>   flag_use = .t.
>ENDIF
>....
>&Your code here
>
>IF flag_use
>   USE IN table1
>ENDIF
>
>IF .NOT. EMPTY(old_alias)
>   SELECT (old_alias)
>ENDIF
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform