Oops, forgot this would get converted to plain text. The error show bold $hoursworked - expecting a numeric expression
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Salow, John Sent: Friday, November 11, 2005 1:47 PM To: [EMAIL PROTECTED] Subject: [Active4d-dev] time error $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/ _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
