|
-
Sep 11th, 2005, 05:21 PM
#1
Thread Starter
New Member
Print in vb a report
Hi ,
I am a new user to Crystal report . I got crystal report and i want to use it in Visual Basic 5 . I do not know how to use it so are there any simple code that can help .
I want to print a database table with some records . there must be in table format . and i used ACCESS *.mdb file. I already know that i have to make a report file with the Crystal report desinger.
And i want to print the record but using the selection formula.
Thanks for help .
-
Sep 11th, 2005, 05:23 PM
#2
Re: Print in vb a report
Moved from CodeBank Forum.
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 
-
Sep 12th, 2005, 08:00 AM
#3
-
Sep 12th, 2005, 06:36 PM
#4
Thread Starter
New Member
Re: Print in vb a report
I've got a little question, in example 1 what does it mean this: "make sure you have the component linked to your project and add the control to the form "
And what's for the example 2?
Thanks
-
Sep 12th, 2005, 06:41 PM
#5
Re: Print in vb a report
#1 is probably referring to you adding a Reference to CR in your Project and adding the CR viewer control to your form.
#2 is an example of how to use CR with a database - Oracle.
I have an example too in my signature - "VB6/Crystal Report Ex."
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 
-
Sep 12th, 2005, 09:41 PM
#6
Thread Starter
New Member
Re: Print in vb a report
and which one is the CR Viewer, coz y only finf out one that says ony Crystal Report.
Thanks
-
Sep 12th, 2005, 10:30 PM
#7
Re: Print in vb a report
Project > Components > Controls tab > check - "Crystal Reports Viewer Control" > click Ok. Drag n drop the viewer on to your form from the tools menu.
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 
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
|