Data Dynamics Reports Support

Started by aleena at 08-18-2010 10:41 AM. Topic has 2 replies.

Print Search Rate
Sort Posts:    
   08-18-2010, 10:41 AM
aleena is not online. Last active: 8/18/2010 11:28:49 PM aleena

Not Ranked
Joined on 08-17-2010
Posts 12
columns increase or decrease at runtime
Hi,

my report takes parameters as input from the user and then displays those parameters information in the report. the problems that im facing are:
1) i want to prompt the user for 15 inputs but even if he doesnt chooses the 15 paramters, and chooses only 2 for example, i still want the report to be displayed.
2) similarly if the user enters 2 parameters i want the report to display only 2 columns with those 2 parameters information respectively. if the user enters 15 parameters then i want the report to display 15 columns and so on
3) the information for each parameter differs in length and i would like the textbox to be sized according to the length of the data and i dont want the text going to the next line in the textbox.

I would really appreciate it if someone could help. Thanks

   Report 
   08-19-2010, 8:21 AM
aleena is not online. Last active: 8/18/2010 11:28:49 PM aleena

Not Ranked
Joined on 08-17-2010
Posts 12
Re: columns increase or decrease at runtime
could someone please help me. thanks
   Report 
   08-19-2010, 2:35 PM
James Johnson - DD is not online. Last active: 1/21/2012 12:07:51 AM James Johnson - DD

Top 50 Posts
Joined on 01-05-2006
Columbus, Ohio
Posts 502

DDStaff
Re: columns increase or decrease at runtime
Its possible to do this within the report engine, however i think it is far easier to do this in your own code.

You can create a UI which prompts for the 15 parameters, then based on that selection programmatically create a new report with the appropriate columns added.

You can see a similar example of this in the Samples\API\ReportWizard sample. In this example we are creating a table based on the database columns being added to the report.

I hope this helps,

James
   Report 
GrapeCity » Product Support » Data Dynamics R... » Re: columns increase or decrease at runtime

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.