Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
White page
Message
From
14/01/2005 15:52:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00977337
Message ID:
00977348
Views:
31
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
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform