Click here to Skip to main content
15,925,444 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionComponent Query Pin
Devraj Raut25-Jan-06 8:36
Devraj Raut25-Jan-06 8:36 
AnswerRe: Component Query Pin
Mekong River25-Jan-06 14:27
Mekong River25-Jan-06 14:27 
Questionshortcuts in web app Pin
Sled Dog25-Jan-06 8:36
Sled Dog25-Jan-06 8:36 
QuestionHow can I query data into 1 listview in VB6? Pin
wliong25-Jan-06 5:35
wliong25-Jan-06 5:35 
AnswerRe: How can I query data into 1 listview in VB6? Pin
Mekong River25-Jan-06 14:42
Mekong River25-Jan-06 14:42 
QuestionHow to tell if a binary has been compiled in release mode? Pin
Evette25-Jan-06 5:03
Evette25-Jan-06 5:03 
AnswerRe: How to tell if a binary has been compiled in release mode? Pin
Joshua Quick25-Jan-06 8:17
Joshua Quick25-Jan-06 8:17 
QuestionHow can I display text box values in Crystal Reports? Pin
shakizil25-Jan-06 4:21
shakizil25-Jan-06 4:21 
Hi,

I am new to .NET and having trouble writing the code to take values from all the text boxes in one Form and displaying it in Crystal Reports. Right now the report is connected to Access DB and I have dragged all the fields onto the report. Obviously when I run the report now it takes all the data from the DB and dumps it in the report. To make it display just the desired text boxes this is the code I have written but it does not work.
Any help would be appreciated.


Private Sub CrystalReportViewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CrystalReportViewer1.Load <br />
  <br />
        Dim rptdata As New dbAccess <br />
        Dim rptval As New Change <br />
<br />
        Dim LogNumber1 As Integer <br />
        Dim Daterequested1 As String <br />
        Dim TargetDate1 As String <br />
        Dim Time1 As String <br />
        Dim RequestedBy1 As String <br />
        Dim ProjectName1 As String <br />
        Dim ChangeDescription1 As String <br />
        Dim Users1 As String <br />
        Dim Department1 As String <br />
<br />
        LogNumber1 = rptval.LogNumber <br />
        Daterequested1 = rptval.DateRequested <br />
        TargetDate1 = rptval.TargetDate <br />
        Time1 = rptval.Time <br />
        RequestedBy1 = rptval.RequestedBy <br />
        ProjectName1 = rptval.ProjectName <br />
        ChangeDescription1 = rptval.ChangeDescription <br />
        Users1 = rptval.Users <br />
        Department1 = rptval.Department <br />
<br />
        CrystalReportViewer1.ReportSource = New Chgmgt <br />
<br />
    End Sub

Questionuser defined type Pin
Marc Soleda25-Jan-06 4:13
Marc Soleda25-Jan-06 4:13 
AnswerRe: user defined type Pin
Joshua Quick25-Jan-06 7:57
Joshua Quick25-Jan-06 7:57 
GeneralRe: user defined type Pin
Marc Soleda25-Jan-06 20:37
Marc Soleda25-Jan-06 20:37 
QuestionTreeView with selective directoriy pathes Pin
cosma21725-Jan-06 4:03
cosma21725-Jan-06 4:03 
AnswerRe: TreeView with selective directoriy pathes Pin
Joshua Quick25-Jan-06 20:00
Joshua Quick25-Jan-06 20:00 
GeneralRe: TreeView with selective directoriy pathes Pin
cosma21726-Jan-06 3:11
cosma21726-Jan-06 3:11 
GeneralRe: TreeView with selective directoriy pathes Pin
Joshua Quick26-Jan-06 7:37
Joshua Quick26-Jan-06 7:37 
AnswerRe: Solution found ==> TreeView with selective directoriy pathes Pin
cosma2178-Feb-06 12:14
cosma2178-Feb-06 12:14 
Questionadding multiple computers in Active Directory Pin
shanemarkley25-Jan-06 3:47
shanemarkley25-Jan-06 3:47 
Questionscripting printing options Pin
shanemarkley25-Jan-06 3:37
shanemarkley25-Jan-06 3:37 
Questionplease help Pin
anewvbguy25-Jan-06 0:32
anewvbguy25-Jan-06 0:32 
QuestionDelete a selected range of pages from a word document Pin
Regardt25-Jan-06 0:25
Regardt25-Jan-06 0:25 
AnswerRe: Delete a selected range of pages from a word document Pin
Joshua Quick25-Jan-06 19:33
Joshua Quick25-Jan-06 19:33 
QuestionPrintPreviewControl: mouxe x,y to actual document x,y? Pin
Duncan Edwards Jones24-Jan-06 23:20
professionalDuncan Edwards Jones24-Jan-06 23:20 
QuestionUpdate database using dataset Pin
mayhem_rules24-Jan-06 21:44
mayhem_rules24-Jan-06 21:44 
AnswerRe: Update database using dataset Pin
Gokulan Venattil24-Jan-06 23:07
Gokulan Venattil24-Jan-06 23:07 
Questionsql inquiry Pin
maytel24-Jan-06 19:32
maytel24-Jan-06 19:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.