DallasAggie
Programmer
Okay all. This is going to be a tough one. I am banging my head against the wall to figure this out. Hopefully some of you have more experience doing this than I have.
I am developing a C#.Net Web application that takes advantage of Crystal Enterprise's InfoObjects methods -- by calling certain properties, I am wanting to dynamically create a custom paramater prompt to the end user.
Here is what I am trying to do:
--code start--------------------------------------
string sqlQ = "SELECT SI_PROCESSINFO.SI_PROMPTS FROM CI_INFOOBJECTS WHERE SI_ID=" + rp.Id;
reportParams = ceInfoStore.Query(sqlQ);
--code end----------------------------------------
from this query result I want to get the number of parameters the report has, the name of the parameter, the parameter type (e.g., date, string, etc.) and parameter prompt message.
I want to be able to write this information into a database for the report_id being passed into this query.
Ex.
Report ID Param# ParamName ParamType ParamPrompt
--------- ------ --------- --------- -----------
123 1 @auditName dropdown Please select..
123 2 @begindate date Select Date
123 3 @amount currency Enter $ amt.
etc...
When I enter that query (shown above) into "Query Builder" within the Crystal Entperise Launchpad I get a whole slew of information...
Check out this link...it has all the information I need, but I don't know how to get it
Thanks in advance.
Dallasaggie
I am developing a C#.Net Web application that takes advantage of Crystal Enterprise's InfoObjects methods -- by calling certain properties, I am wanting to dynamically create a custom paramater prompt to the end user.
Here is what I am trying to do:
--code start--------------------------------------
string sqlQ = "SELECT SI_PROCESSINFO.SI_PROMPTS FROM CI_INFOOBJECTS WHERE SI_ID=" + rp.Id;
reportParams = ceInfoStore.Query(sqlQ);
--code end----------------------------------------
from this query result I want to get the number of parameters the report has, the name of the parameter, the parameter type (e.g., date, string, etc.) and parameter prompt message.
I want to be able to write this information into a database for the report_id being passed into this query.
Ex.
Report ID Param# ParamName ParamType ParamPrompt
--------- ------ --------- --------- -----------
123 1 @auditName dropdown Please select..
123 2 @begindate date Select Date
123 3 @amount currency Enter $ amt.
etc...
When I enter that query (shown above) into "Query Builder" within the Crystal Entperise Launchpad I get a whole slew of information...
Check out this link...it has all the information I need, but I don't know how to get it
Thanks in advance.
Dallasaggie