Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2010 > Visual Basic 2010 General Discussion
|
Visual Basic 2010 General Discussion For any discussions about Visual Basic 2010 topics which aren't related to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2010 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 29th, 2011, 01:37 PM
Authorized User
 
Join Date: Aug 2005
Posts: 88
Thanks: 4
Thanked 0 Times in 0 Posts
Default Crystal Reports and The Report Viewer

I am using Visual Basic 2010 and working on an application that will have several relatively simple reports. The source information is an SQL Server Express database table.

There are two sources available that I am aware of, Crystal Reports and the Report Viewer tool. Every "information source" that I have found seems to ignore these subjects.

There are pages of information on the MSDN web site describing the Report Viewer, but nowhere can I find a simple tutorial that I can use as a base for learning how to effectively develop and modify a report.

Can anyone point me in the right direction?

Milt
 
Old December 8th, 2011, 08:12 AM
Authorized User
 
Join Date: May 2010
Posts: 70
Thanks: 4
Thanked 6 Times in 6 Posts
Send a message via Yahoo to GeneBuchite
Default Crystal Reports

I have never gotten any results w/ Crystal Reports either. The way I PRint using VS 2010 is

1) Create a form that contains text boxes or labels and position them on the page. Name it ppv.frm. Place a button on the form and name it Print.
2) using visual basic powerpacks(in the toolbox) place "PrintForm" on the ppv.frm
code for print button on ppv.frm
Code:
         TextBox1.Focus()
        Button1.Hide()
        PrintForm1.Print()
3) Create a form that reads your data and places the information into the individual textboxes & labels. PLace a print form Button on the form.
code for print button on form1.frm
Code:
        PPV.Show()
        PPV.Label1.Text = "This Was Set By Code"
        PPV.TextBox1.Text = " This Was Coded Too"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Report Viewer unstead of crystal reports luckystar BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 2 June 10th, 2009 04:04 PM
Crystal Reports ActiveX Viewer omarmalik Crystal Reports 0 September 14th, 2006 05:39 AM
tooltips showing on crystal reports viewer ejan Pro VB 6 0 December 21st, 2004 02:47 AM
Crystal Reports Viewer problem MikeJames42 Crystal Reports 0 April 14th, 2004 08:04 AM
VB and Crystal Reports Viewer MikeJames42 Pro VB 6 0 April 7th, 2004 02:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.