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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports XI, VB6, XML

Status
Not open for further replies.

kam08

Programmer
Mar 9, 2007
3
US
I am using VB6 to load a .rpt file at runtime. The data is being supplied to the Crystal Report template by parsing a XML document and generating a recordset to be used at the datasource for the report object. Is it possible to load the Crystal Report as I parse the XML document instead of waiting until the document has been completely parsed? Basically, I am matching page header tags to the data that I want to display in the page header of the report. Is is possible to populate each page header within the report with dynamic data (unrelated to the actual detail records) so that each page header contains different information? Are there any report events that would be accessible within VB6 as the report is being populated? I have tried BeforeFormatPage, but that only seems to fire when I export the report. Thanks in advance for any help!
 
I don't really follow what you're asking, but since no one else has answered, I'll try.

If you want to separate different types of data, use Group.

For the rest, I doubt if any of it is possible. Crystal is a reporting tool, and allows you to produce neat-looking reports very quickly. It isn't a full programming language, though it does include a lot of options that you can control in a subtle way.
Crystal has its own litle ways; you have to get used to them. It's worth sticking with, because it's a very quick neat tool once you get know it.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
You are in the wrong forum. You need to ask this in forum768 - which specifically deals with using crystal in a programming environment rather than as a stand alone tool.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"What version of URGENT!!! are you using?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top