Jit Pipeline with RAP
Hello,
Can I create a JIT pipeline from RAP in Report Builder EndUser?
I need to create for example some reports with a number of records
depending of some field in a table.
For example my database has a table called ITEM with the following
fields
ItemNmr string
Description string
Labels Integer
With pass-through functions I can get ItemNmr and Labels fields and I
would like to create a Jit pipeline with the number of records of Labels.
What is the better way to do that?
Thanks,
Jose Maria Sanmartin
Can I create a JIT pipeline from RAP in Report Builder EndUser?
I need to create for example some reports with a number of records
depending of some field in a table.
For example my database has a table called ITEM with the following
fields
ItemNmr string
Description string
Labels Integer
With pass-through functions I can get ItemNmr and Labels fields and I
would like to create a Jit pipeline with the number of records of Labels.
What is the better way to do that?
Thanks,
Jose Maria Sanmartin
This discussion has been closed.
Comments
RAP passthrough functions to configure it, rather than creating it in RAP.
You could create a JITPipeline in the global OnCreate event of RAP and then
free it in the global OnDestroy event in RAP. You can see that RecordCount
and InitialIndex are published, as well as all the event handlers. However,
you would have to assign event handlers, and RAP does not supports this. RAP
doens't know that it can assign an event handler to an object which is going
to be created in RAP. The end result is that you should place the
JITPipeline on the form and use Delphi event handlers for it.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Once I have created a JIT pipeline in a form and configure through RAP,
can I use it with Report Builder End User?
Do you have any example?
The idea is to have about 5 different reports with the same data
(different layout), so I didn't want to loss the funcionality of End User.
Thanks,
Jose Maria Sanmartin
designer. You could use the Report.Template events to set teh visibility of
the JITPipeline(s) so that the ones the user wants for the report are
visible. If a pipeline is not visible, then it will not be shown in the
Report | Data list of selectable pipelines.
Another approach is to wrap the JIT inside of a custom dataview template in
DADE:
Here are a couple of tips we've put together:
http://www.digital-metaphors.com/tips/JITEndUser.zip
http://www.digital-metaphors.com/tips/myJITMasterDetailTemplate.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I will use a custom dataview template in DADE in order to have Report
Explorer.
Thanks,
Jose Maria Sanmartin