Originally posted by DBlankHmmm...
Where exactly did the cursor go to on the error?
A couple of items...
Assuming all of these are boolean fields the =TRUE part is not needed.
Also if any of the fields can have NULL instead of true/false and you are not using 'default values for nulls' it will stop evaluation when it hits a null and then return no value (your blanks).
if {ORDE_WB_MAIN.STA_DOCK} then "Stacked"elseif {ORDE_WB_MAIN.REL_STACK} then "Released for Stacking"elseif {ORDE_WB_MAIN.CUST_NOTIF} then "Customer Notified"elseif {ORDE_WB_MAIN.ORD_COMP} then "Order Complete"elseif {ORDE_WB_MAIN.ON_HOLD} then "On Hold"elseif {ORDE_WB_MAIN.ORD_WIP} then "Order Released (W.I.P.)"elseif {ORDE_WB_MAIN.PARTS_ORD} then "Parts Ordered"elseif {ORDE_WB_MAIN.ORD_CONFIR} then "Order Confirmed"else "Not Confirmed"
The NULL issue is my guess as to why 'Not confirmed' is not printing.
Were the cursor goes to indicate an error will help determine a fix for that.
Yes all fields are boolean and there are no NULL fields. The fields are either True or False
I did the formula as you suggested but it still does not work.
When I right click the formula to browse the data I get
"Stacked"
"Released for Stacking"
"Customer Notified"
"Order Complete"
"On Hold"
"Order Released (W.I.P.)"
"Parts Ordered"
"Order Confirmed"
but no
"Not confirmed"