Report Options field in Report Maintenance

Calvin,


not sure but this idea might help...


Our report's graphic is controlled by company name. (It could just as easily be any field) 

I put all the graphics on the report in the same place and simply make 'visible' based on company field value.


Mike

Any way for the report to access the data in the Report Options field of a report style?


I have two reports that are identical except for a graphic.  So instead of maintaining two reports (that only differ by one image), I thought I'd have just one .rpt file, and pass a parameter to it by the "Report Options" field.  There would still be two report styles.  For example:


StyleNum: 1

StyleDesc: Foo

Type: CRYSTAL REPORTS

Data Def: ARForm

Report Location: reports/_ARForm-150817b.rpt

Report Options: <blank>


StyleNum: 1

StyleDesc: Foo-CP

Type: CRYSTAL REPORTS

Data Def: ARForm

Report Location: reports/_ARForm-150817b.rpt

Report Options: CP


I know how to set the graphic at runtime, but would like to do so based on the "Report Options"  The .rpt file would set the graphic's location based on the "Report Options" parameter.


Thanks in advance


Calvin


P.S. My apologies if this is a dup post.  something went amok the first time I tried to post

>> ARForm
>> Crystal... based on the "Report Options"

Kind of involved but....
- I set up soemthing on the invoice tracker report form that might work for you
-- ended up using a field that was already included in Crystal: RptParameter.Description
---- so far has been working & as far as I could tell that field isn't being used for anything else (on that report)

1.) Customized the invoice report form:
---- added a combo with a static list
------- bound it to  ReportParm.Description
---------- used customization name: ARInvForm_ReportParam
--------------- added the Custom report from to the Menu as ID: UDARPX
2.) Customized the the invoice tracker form
----  used same customization name: ARInvForm_ReportParam
------ set as the actve customization in menu maintenance
3.) Added new Process calling
----- Called Process: Epicor.Mfg.UIRpt.ARInvForm
--------- Called From: Epicor.Mfg.UI.ARInvoiceTracker
-------------- MenuID: UDARPX (the custom report form menu ID)


Ended up like this for a couple reasons
- no UD fields available in the RptParamter table
- and RptParamter not accessible thru the RDD