Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Crystal Reports dynamically at Runtime from a VB app.

Status
Not open for further replies.

jbrowne

Programmer
Feb 1, 2000
182
IE
Hi,<br>&nbsp;&nbsp;&nbsp;&nbsp;We are trying to create Crystal Reports dynamically from a run-time enviroment in Visual Basic. What we need is to feed parameters into CR from runtime in the VB app. and from those parameters to generate a report from scratch. Is this possible with Crystal Reports 8.<br>&nbsp;<br>Regards<br>John B
 
hmmmm be a little more specific please...<br><br>When you say build the report from scratch do you mean actually build the report by laying out the fields and format of the report? - or do you mean the report is already formatted and you want to fill it with data based on the parameters passed from the front end?<br><br>It is possible to send parameters to a Crystal Report with no trouble at all. If you want to build the report from the front end then more is involved but it can be done.<br><br>Check the Developer's Help file in crystal from examples of passing parameters from the front end app to a report. You'll find it is no problem to do.<br><br>Also - search the knowledge base at Seagate:<br><A HREF=" TARGET="_new"> for documentation:<br><A HREF=" TARGET="_new"> this helps.<br> <p>Cody ford<br><a href=mailto:codyford@yahoo.com>codyford@yahoo.com</a><br><a href= > </a><br>VB, VBS, Seagate Info/Crystal Reports<br>
 
Hi Cody,<br>&nbsp;Thanks for your reply. What we need is to be able to create a Crystal Report including all of its features eg sub-reports etc. right from the begining. We would have all of the information required (ie postion of fields, name of tables etc) stored in our own software(written in VB). Can we use this information to build a formatted CR8 report dynamically.<br><br>John B<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top