Differences
This shows you the differences between two versions of the page.
control_specific_issues_with_crystal_reports [2019/01/17 09:04] |
control_specific_issues_with_crystal_reports [2019/01/17 09:04] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Accessing System Option Information ===== | ||
+ | |||
+ | |||
+ | |||
+ | Often you may need to access options that are configured in Control. Rather than access them from the database (which is possible through the UserOptions table), which can be difficult, you can " | ||
+ | |||
+ | |||
+ | |||
+ | To do so, create a parameter in Crystal Reports using the following naming convention: | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | |||
+ | where is replaced by the (internal) Control name for the specific option. | ||
+ | |||
+ | **Example**: | ||
+ | |||
+ | |||
+ | |||
+ | Any parameter starting with " | ||
+ | |||
+ | |||
+ | |||
+ | Some of the Control options you can access are: | ||
+ | * CompanySingular | ||
+ | * CompanyPlural | ||
+ | * ContactSingular | ||
+ | * ContactPlural | ||
+ | * SalespersonSingular | ||
+ | * SalespersonPlural | ||
+ | * CourseSingular | ||
+ | * CoursePlural | ||
+ | * OrderSingular | ||
+ | * OrderPlural | ||
+ | * EstimateSingular | ||
+ | * EstimatePlural | ||
+ | * WorkAssignmentSingular | ||
+ | * WorkAssignmentPlural | ||
+ | * IsClientSingular | ||
+ | * IsClientPlural | ||
+ | * ContractPeriodSingular | ||
+ | * ContractPeriodPlural | ||
+ | * CourseEventSingular | ||
+ | * CourseEventPlural | ||
+ | * CourseSectionSingular | ||
+ | * CourseSectionPlural | ||
+ | * CompanyOrigin | ||
+ | * ProofDateName | ||
+ | * ContactPositionSingular | ||
+ | * FranchiseType | ||
+ | * UseDivisions | ||
+ | * SalespersonCount | ||
+ | |||
+ | |||
+ | |||
+ | How it Works: | ||
+ | |||
+ | |||
+ | |||
+ | When Control comes across a parameter name that starts with " | ||
+ | |||
+ | |||
+ | |||
+ | Then it will look for an option with that name in the user options. If it doesn' | ||
+ | |||
+ | |||
+ | |||