Hello
Using CR 8 and Oracle Database
I am creating a report to help final user find the last prices paid for a product by a customer within a date range
My tables are like
INVOICES HEADER
Customer Number
Invoice Number (1)
...
INVOICES DETAILS
Invoice Number (1)
Product ID (2)
Quantity
Price
Unit price
...
PRODUCTS DETAILS
Product ID (2)
Supplier Number
Capacity
Color
...
Final User knows only Supplier Number
Parameters for Customer ID and date range are passed by the customer application and work fine. They do not appear in the selection formula so I guess they are passed trough a SQL intruction. I don't really know how it works.
I created an additional parameter formula which is
{?SUPPLIER_NUMBER}
And a selection formula which is
{PRODUCT_DETAILS.SUPPLIER_NUMBER}={?SUPPLIER_NUMBER}
If I enter "Q2612A" in the parameter prompt, the report does not filter anything
And if I use a "hard" formula selection like
{PRODUCT_DETAILS.SUPPLIER_NUMBER}="Q2612A",
data is filtered anfd the report is OK
I must be missing something obvious
thanks for your help
Using CR 8 and Oracle Database
I am creating a report to help final user find the last prices paid for a product by a customer within a date range
My tables are like
INVOICES HEADER
Customer Number
Invoice Number (1)
...
INVOICES DETAILS
Invoice Number (1)
Product ID (2)
Quantity
Price
Unit price
...
PRODUCTS DETAILS
Product ID (2)
Supplier Number
Capacity
Color
...
Final User knows only Supplier Number
Parameters for Customer ID and date range are passed by the customer application and work fine. They do not appear in the selection formula so I guess they are passed trough a SQL intruction. I don't really know how it works.
I created an additional parameter formula which is
{?SUPPLIER_NUMBER}
And a selection formula which is
{PRODUCT_DETAILS.SUPPLIER_NUMBER}={?SUPPLIER_NUMBER}
If I enter "Q2612A" in the parameter prompt, the report does not filter anything
And if I use a "hard" formula selection like
{PRODUCT_DETAILS.SUPPLIER_NUMBER}="Q2612A",
data is filtered anfd the report is OK
I must be missing something obvious
thanks for your help