FIELD SalesVol := SalesVol ;
@If (SalesChoice = "Outer" | SalesChoice = "Single" ; @SetField (SalesVol ; SalesTotal) ;@SetField (SalesVol ; SalesTotal / SalesOuter)) ;
Ok I give up been playing with this for hours now and would love some help ..... PLEASE.....
All I want to do is put the vale of SalesTotal in SalesVol if its an outer and if not the value of SalesTotal/SalesOuter.
The above code says text expected and does not open the form and number expected if I put the SalesVol in "" !
Thanks
@If (SalesChoice = "Outer" | SalesChoice = "Single" ; @SetField (SalesVol ; SalesTotal) ;@SetField (SalesVol ; SalesTotal / SalesOuter)) ;
Ok I give up been playing with this for hours now and would love some help ..... PLEASE.....
All I want to do is put the vale of SalesTotal in SalesVol if its an outer and if not the value of SalesTotal/SalesOuter.
The above code says text expected and does not open the form and number expected if I put the SalesVol in "" !
Thanks