Hello. I am trying to add a field to a report. This field might be blank in some instances, or in others, contain text.
I have created a formula that I hoped would show this field {ap_cheque_comments.apchc_comments } if it is present for the particular cheque that was issued.
Here is the formula, but I get an error saying a boolean is required at the very end:
{ap_invoices_details.apid_trans_date}={?Cheque date} and
{ap_invoices_details.apid_ref_num} = {?Cheque number} and
{ap_invoices_details.apid_supplier_id} = {?Vendor Number} and
IF {ap_cheques.apch_internal_seq}={ap_cheque_comments.apchc_transint_seq}
THEN {ap_cheque_comments.apchc_comments}
ELSE " "
Is it OK to use parameters in the formula? I wasn't sure.
Thanks in advance for any help that can be provided.
I have created a formula that I hoped would show this field {ap_cheque_comments.apchc_comments } if it is present for the particular cheque that was issued.
Here is the formula, but I get an error saying a boolean is required at the very end:
{ap_invoices_details.apid_trans_date}={?Cheque date} and
{ap_invoices_details.apid_ref_num} = {?Cheque number} and
{ap_invoices_details.apid_supplier_id} = {?Vendor Number} and
IF {ap_cheques.apch_internal_seq}={ap_cheque_comments.apchc_transint_seq}
THEN {ap_cheque_comments.apchc_comments}
ELSE " "
Is it OK to use parameters in the formula? I wasn't sure.
Thanks in advance for any help that can be provided.