|
-
Aug 16th, 2005, 10:27 AM
#1
Thread Starter
Fanatic Member
Create a Report in VB6?
I write all my applications in VB6 and Use an access database all of the time.
My question is : what is the best method of creating reports where data may be extracted from the access database possibly tabulated and presented to the user in VB6 ?
The report should be available on screen, or may be printed (possibly even exported ???)
-
Aug 16th, 2005, 10:34 AM
#2
Re: Create a Report in VB6?
You could use either Data Reports or Access Reports depending on which you are more familiar with.
-
Aug 16th, 2005, 10:39 AM
#3
Thread Starter
Fanatic Member
Re: Create a Report in VB6?
Thanks Hack
Excuse my ignorance but I once created a report in VB specifying a data environment etc. etc. but I couldnt figure out how to get this to work if the database was on a server with multi users, it was also a while ago and I can't remember how I did it.
I was hoping for a method that could be used to create reports even after the app has been distributed to the user, or reports that may even be created by the user himself.
Is this possible ?
-
Aug 16th, 2005, 12:02 PM
#4
Hyperactive Member
Re: Create a Report in VB6?
you can use system dsn to connect to your system.
-
Aug 17th, 2005, 12:08 AM
#5
Re: Create a Report in VB6?
If you have Crystal Reports available to you it would be the best chioce in my opinion. You can use the CR Viewer control to open and view a report. also, it has an Export button that practically automatically exports the report in many formats like Excel, PDF, etc.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 17th, 2005, 07:13 AM
#6
Re: Create a Report in VB6?
 Originally Posted by KenBZim
I was hoping for a method that could be used to create reports even after the app has been distributed to the user, or reports that may even be created by the user himself.
Is this possible ?
Creating a report usually involves some form of database query to return a result set, that, in turn, gets nicely formatted for printing.
If your users have access and rights to your database, then they could do this themselves, but it would be completely external to the application you have written.
Last edited by Hack; Aug 17th, 2005 at 12:58 PM.
-
Aug 17th, 2005, 09:33 AM
#7
Thread Starter
Fanatic Member
Re: Create a Report in VB6?
-
Aug 17th, 2005, 12:59 PM
#8
Re: Create a Report in VB6?
So, what is the final verdict? What did you decide to go with?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|