Crystal Reports 2013
Oracle 11g
Parameters within the Command statement
Goals:
1. Create a parameter or parameters that allow(s) retrieval of
(a) results that exist in the values; and
(b) results that are like those that exist in the values (wildcard).
2. Parameter entry is optional for both, one or the other, or none (there are other parameters). [Optional does not seem possible for Command parameters.]
3. Using a LOV is not an option (too large, and would require constant manual updates) - client will enter parameter results required manually.
4. The same Table.Field is the dependency for both parameters below ({?ProgCode} and {?ProgCode1}).
So far:
Testing capability to retrieve multiple mixed result types ("like '02%'" and "in '012'") within one parameter fails.
So, two Static parameters have been created within the Command statement, both of string type, with "Multiple" checked for each, as follows -
Example:
(Table.FieldCODE like {?ProgCode} or TableFieldCODE IN {?ProgCode1})
Sample input for {?ProgCode} is '02%'
Sample input for {?ProgCode1} is '012'
Questions:
(a) Is it possible to make these parameters optional (choose one or the other, both, or none)?
(b) Is it possible to capture mixed results in just one parameter (e.g., like wildcard '012%' and in existing '012')?
Thanks!
Oracle 11g
Parameters within the Command statement
Goals:
1. Create a parameter or parameters that allow(s) retrieval of
(a) results that exist in the values; and
(b) results that are like those that exist in the values (wildcard).
2. Parameter entry is optional for both, one or the other, or none (there are other parameters). [Optional does not seem possible for Command parameters.]
3. Using a LOV is not an option (too large, and would require constant manual updates) - client will enter parameter results required manually.
4. The same Table.Field is the dependency for both parameters below ({?ProgCode} and {?ProgCode1}).
So far:
Testing capability to retrieve multiple mixed result types ("like '02%'" and "in '012'") within one parameter fails.
So, two Static parameters have been created within the Command statement, both of string type, with "Multiple" checked for each, as follows -
Example:
(Table.FieldCODE like {?ProgCode} or TableFieldCODE IN {?ProgCode1})
Sample input for {?ProgCode} is '02%'
Sample input for {?ProgCode1} is '012'
Questions:
(a) Is it possible to make these parameters optional (choose one or the other, both, or none)?
(b) Is it possible to capture mixed results in just one parameter (e.g., like wildcard '012%' and in existing '012')?
Thanks!