Results 1 to 3 of 3

Thread: Fields dont show up on crystal report ?

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2005
    Posts
    42

    Question Fields dont show up on crystal report ?

    Hi im trying to create a report from my program. Ive successfully got the data i want from my database and it displays perfectly using a datagrid in my application. However the problem im having is i have created a new report and a report viewer etc. Ive used the DataBase expert tool and pointed it to my table (CLINIC) and if finds the various fields which i have added to the report. However when i load the report im my application all my headings, titles etc are there but the values for the fields dont appear ??

    Ill include my code for my program below to see if it gives you some more of an idea about my application.

    VB Code:
    1. Public Class Form1
    2.     Dim strDate As Date
    3.  
    4.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    5.  
    6.         strDate = Me.TxtDate.Text
    7.         MessageBox.Show(strDate)
    8.  
    9.         CLINICTableAdapter.Fill(ShiredataDataSet1.CLINIC, strDate)
    10.      
    11.     End Sub
    12.  
    13.  
    14.     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    15.         Application.Exit()
    16.  
    17.     End Sub
    18.  
    19.  
    20.     Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
    21.  
    22.         CrViewer.Visible = True
    23.         CrViewer.ReportSource = crClinic1
    24.  
    25.  
    26.     End Sub
    27.  
    28.  
    29. End Class
    Last edited by ZedEx; Feb 24th, 2006 at 08:48 AM. Reason: Spelling mistake

  2. #2

    Thread Starter
    Member
    Join Date
    Feb 2005
    Posts
    42

    Re: Fields dont show up on crystal report ?

    Anybody any ideas ? Please ?

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2005
    Posts
    42

    Re: Fields dont show up on crystal report ?

    Seriously nobody knows why ? im totally stumped now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width