I'm calling a crystal report from VB. The report is being passed a parameter used for record selection. The Report runs an SQL query, then runs the record selection query. I only want the record selection query to run b/c the report query has no criteria and takes 10 minutes to execute.
I would like the same functionality as using a parameter, but I don't want the user to see a parameter prompt. Is this possible?
When I run a profile on the program, I see that this query runs
select...from.... **[no critera]
The data returned is not used in the report.
Then I see the query from the record selection.
QUERY =
Select.....From...where field_from_table = UserId
record selection formula =
field_from_Table = @formula(UserId passed from VB)
I would like the same functionality as using a parameter, but I don't want the user to see a parameter prompt. Is this possible?
When I run a profile on the program, I see that this query runs
select...from.... **[no critera]
The data returned is not used in the report.
Then I see the query from the record selection.
QUERY =
Select.....From...where field_from_table = UserId
record selection formula =
field_from_Table = @formula(UserId passed from VB)