Hey everyone,
I am having some trouble here, and as usual, I can't find the correct documentation from Crystal.
I am about to upgrade to CE9 from CE8 and I need to port some custom .csp and .asp pages over.
Here is what I have done in CE8:
I have replaced the reportviewer.csp page with my own custom page that intercepts the call to it and checks the report to see if the parameters need a dynamically built menu for the paramater values.
If it does not need a dynamic menu then it is passed on to the original reportviewer page I renamed reportviewercall.csp.
If it does need a dynamic menu, then it calls the appropriate SQL SELECTs to the database and populates the drop-menu. This menu is named "promptex-<parameter name>" so that when the form is submitted to the viewer.cwr the user isn't prompted for the value and uses what they chose from the drop-down.
My problem in CE9 is that I got the dynamic menus to work, but when submitting to the new viewreport.csp or viewreport_ia.csp (whichever is appropriate) the "promptex-<parameter name>"s do not get used and the users are prompted for a value.
After searching all the documentation I could get my hands on, I have decided that they took this functionality out.
Is this true? And if so, how can I pass parameter values in a similar manner?
I have seen examples where people have created parameter objects and populated those, etc, etc. But my goal is to modify as few Crystal csp pages as possible, so I would rather simply pass the values to the page without having to get the values with my own custom code.
Can anyone help with this huge post?
Thanks,
gondoi
I am having some trouble here, and as usual, I can't find the correct documentation from Crystal.
I am about to upgrade to CE9 from CE8 and I need to port some custom .csp and .asp pages over.
Here is what I have done in CE8:
I have replaced the reportviewer.csp page with my own custom page that intercepts the call to it and checks the report to see if the parameters need a dynamically built menu for the paramater values.
If it does not need a dynamic menu then it is passed on to the original reportviewer page I renamed reportviewercall.csp.
If it does need a dynamic menu, then it calls the appropriate SQL SELECTs to the database and populates the drop-menu. This menu is named "promptex-<parameter name>" so that when the form is submitted to the viewer.cwr the user isn't prompted for the value and uses what they chose from the drop-down.
My problem in CE9 is that I got the dynamic menus to work, but when submitting to the new viewreport.csp or viewreport_ia.csp (whichever is appropriate) the "promptex-<parameter name>"s do not get used and the users are prompted for a value.
After searching all the documentation I could get my hands on, I have decided that they took this functionality out.
Is this true? And if so, how can I pass parameter values in a similar manner?
I have seen examples where people have created parameter objects and populated those, etc, etc. But my goal is to modify as few Crystal csp pages as possible, so I would rather simply pass the values to the page without having to get the values with my own custom code.
Can anyone help with this huge post?
Thanks,
gondoi