I am using Crystal 11.5.8.826
I have a report that allows the user to see which customers have special pricing for an item. There are parameters for Supplier and Part Number. The report then lists all customers who have special pricing where cntr_price.sup = {?Supplier} and cntr_price.part = {?PartNumber}.
If they enter a correct Sup and Part combination the report works properly. If there isn't a record in the cntr_price table for the item I have a formula in Detail b that says "No contract pricing for this item." I suppress the item if there is pricing and then suppress blank section is checked for Detail b to suppress it if there is a price.
My concern is if they type in an invalid Supplier and/or Part Number the report could mislead them into thinking there is no contract pricing. I need to be able to test the Supplier and Part provided by the user against the Inventory Master table (InvMas.Sup and InvMas.Part) and if the part does not exist then return a message saying that combination does not exist.
It is always easier to show that something exists than to prove it doesn't...
"The problems we face today cannot be solved by the minds that created them."
--Albert Einstein
I have a report that allows the user to see which customers have special pricing for an item. There are parameters for Supplier and Part Number. The report then lists all customers who have special pricing where cntr_price.sup = {?Supplier} and cntr_price.part = {?PartNumber}.
If they enter a correct Sup and Part combination the report works properly. If there isn't a record in the cntr_price table for the item I have a formula in Detail b that says "No contract pricing for this item." I suppress the item if there is pricing and then suppress blank section is checked for Detail b to suppress it if there is a price.
My concern is if they type in an invalid Supplier and/or Part Number the report could mislead them into thinking there is no contract pricing. I need to be able to test the Supplier and Part provided by the user against the Inventory Master table (InvMas.Sup and InvMas.Part) and if the part does not exist then return a message saying that combination does not exist.
It is always easier to show that something exists than to prove it doesn't...
"The problems we face today cannot be solved by the minds that created them."
--Albert Einstein