@Kevin Moyes Thank you! Works fabulously. For the record, here is the formula I used:
if hasvalue({?Ship To Code}) then {AR_InvoiceHistoryHeader.ShipToCode} = {?Ship To Code}
else IsNull({AR_InvoiceHistoryHeader.ShipToCode}) and
{AR_InvoiceHistoryHeader.TransactionDate} = {?date range} and
{AR_InvoiceHistoryHeader.CustomerNo} = {?customer range}
I never know if a Sage 100 field without a value is considered null or not. I see your logic defends against both scenarios. I am going to add the ="" to mine also.
------------------------------
Doug Higgs
Midwest Commerce Solutions, Inc
(312) 315-0960
Assistant to the Traveling Secretary
------------------------------
Original Message:
Sent: 09-11-2020 11:26
From: Kevin Moyes
Subject: Crystal Report - Parameter Definition
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON
------------------------------
Original Message:
Sent: 09-11-2020 11:21
From: Kevin Moyes
Subject: Crystal Report - Parameter Definition
Set the parameter to optional, then in your selection criteria put in an "if hasvalue(parametername) then ... else..." clause to handle the logic.
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON