You'll need to create a pass-thru function that opens a query. See the RAP tutorials and demos for an example of creating pass-thru functions. To read the query records, are you going to have pass through functions to read the data from the query to print in the report? What is the goal of this query?
Do you need to print some detail data for a master record? If so, then you can link a detail query to a master query. Connect the detail query to a detail datapipeline. Connect the detail datapipeline to the subreport. The subreport will traverse detail data for the master record for you automatically.
Comments
tutorials and demos for an example of creating pass-thru functions. To read
the query records, are you going to have pass through functions to read the
data from the query to print in the report? What is the goal of this query?
Do you need to print some detail data for a master record? If so, then you
can link a detail query to a master query. Connect the detail query to a
detail datapipeline. Connect the detail datapipeline to the subreport. The
subreport will traverse detail data for the master record for you
automatically.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com