$hoursworked:=[Timecard]Stop-[Timecard]Start

[Timecard]Regular:=(Num(Substring(Time
string($hoursworked);1;2)))+(Num(Substring(Time
string($hoursworked);4;2))/60) 

Expecting a numeric expression.

 

This works in 4d but not active 4d? 

[timecard]start and [timecard]stop are time fields.

$hoursworked is typed as c_time. 

[timecard]regular is typed as real.

 

Any workaround?

 

Thanks,

 

John

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to