I'm trying to create a formula in crystal that if the items bought by the linear yard or perf length it will display the total weight of the item on the picking sheet.
Here is what I have for my formula to display if the unit of measure begins with L or P:
if {SO_PickingSheetWrk.UnitOfMeasure} startswith "L" then {@LineWeight} or
{SO_PickingSheetWrk.UnitOfMeasure} startswith "P" then {@LineWeight_PERF} else 0
@LineWeight_PERF formula = (({SO_PickingSheetWrk.QuantityOrdered} * {CI_Item.UDF_PERF_LEN})/36) * {SO_PickingSheetWrk.ItemWeight}
@LineWeight formula = {SO_PickingSheetWrk.QuantityOrdered} * {SO_PickingSheetWrk.ItemWeight}
Here is the error I'm getting. I think it has to be a simple I'm overlooking with this error.

------------------------------
Shannon Stanley
Sage 100 Consultant
Ardent Consulting LLC
704-839-6697
------------------------------