I have a formula for a change report that I run once a week. The report ran fine Thursday and now today I get this error:
Here is the formula :
If IsNull({CHANGE.PLAN_ST_TIME}) Then
' '
Else (
TimeVar Plan_St_Time := Time(ToNumber(Left({CHANGE.PLAN_ST_TIME},2)),ToNumber(Mid({CHANGE.PLAN_ST_TIME},4,2)),ToNumber(Right({CHANGE.PLAN_ST_TIME},2)));
tzcvtConvToLocalDatetimeByName (ToText(DateTime({CHANGE.PLAN_ST_DATE},Plan_St_Time),"MM/dd/yyyy hh:mm tt"),"Eastern Standard Time"))
I get the following error on the first part of the formula:
The string is non-numeric
TimeVar Plan_St_Time := Time(ToNumber(Left({CHANGE.PLAN_ST_TIME},2))
I have no clue on how to correct this. Any advice would be greatly appreciated !
Here is the formula :
If IsNull({CHANGE.PLAN_ST_TIME}) Then
' '
Else (
TimeVar Plan_St_Time := Time(ToNumber(Left({CHANGE.PLAN_ST_TIME},2)),ToNumber(Mid({CHANGE.PLAN_ST_TIME},4,2)),ToNumber(Right({CHANGE.PLAN_ST_TIME},2)));
tzcvtConvToLocalDatetimeByName (ToText(DateTime({CHANGE.PLAN_ST_DATE},Plan_St_Time),"MM/dd/yyyy hh:mm tt"),"Eastern Standard Time"))
I get the following error on the first part of the formula:
The string is non-numeric
TimeVar Plan_St_Time := Time(ToNumber(Left({CHANGE.PLAN_ST_TIME},2))
I have no clue on how to correct this. Any advice would be greatly appreciated !