I am trying to create a report viewing form. I was told that the Web Browser control can be used for this. I have never used this control before and was wondering if anyone new of any good coding examples to perform this task.
Thanks,
Blake
Printable View
I am trying to create a report viewing form. I was told that the Web Browser control can be used for this. I have never used this control before and was wondering if anyone new of any good coding examples to perform this task.
Thanks,
Blake
blakemckenna,
There may be better ways.
If you want to present the report to a user on a VB Form as such, then you could use a ListView or FlexGrid to display the data.
Whereas, If you want to present a report, then you could use a Crystal Report.
However, a few questions:
What generates the report in the first instance (a VB App)?
What format is the raw data in?
Bruce.
Bruce,
I simply wish to display reports in a VB app with options such as zooming, printing, etc. I don't have crystal reports, although I wish I did. Can't afford it right now. The listview and Grid controls are OK, however, I'm not sure how to incorporate printing capabilities.
Blake
then why u dont go for Data Reports that come with vb. It is good enough for simple reports.Quote:
I don't have crystal reports, although I wish I did. Can't afford it right now
Because I can't get data reports to work right. Always giving me this "Report Width" error message.
A bit form left field.
I had to generate a report (log book spanning two pages in landscape, of 60 + pages) and resorted to using Excel as the report medium.
I have a pre saved Excel template, that I load with data from my database. Works well, and I have all the Excel nicaties for printing etc.
Is this an option for you v Data Report/Crystal Reports?
Bruce.
ya, using some code like something.InnerHtml but it will no alter the origional page