Skip to Content
Former Member
Jul 21, 2009 at 03:24 PM

Dynamiclaly determine the need of parameter prompt? (CR8.5)



I'm wondering if it's possible to have cr8 decide if a parameter is needed.

I have a report, its an invoice template that has some graphics that display depending on a selected parameter.

The graphics are generally only used when a copy invoice or credit is needed - otherwise the user selects 'plain' and the invoice prints with no graphics.

The document type is determined by the database field DOC_TYPE which would be 'CIV' for copy invoice or 'CCR' for copy credit - otherwise 'INV' or 'CRN'

Is it possible to specify that, if the doc_type is 'CIV' or 'CCR' then prompt for graphics if not, no parameter prompt - show/print the plain report.

The reason for this is that, when invoices are raised, they are raised in batches and it would be inpracticle to stop and choose a parameter for each invoice - these invoices are all printed on headed paper, therefor - graphics are supressed.

The graphics are only shown when a customer requests a copy invoice and we then send out a pdf generated from the report with graphics shown