|
-
Feb 24th, 2006, 08:46 AM
#1
Thread Starter
Member
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:
Public Class Form1
Dim strDate As Date
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
strDate = Me.TxtDate.Text
MessageBox.Show(strDate)
CLINICTableAdapter.Fill(ShiredataDataSet1.CLINIC, strDate)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Application.Exit()
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
CrViewer.Visible = True
CrViewer.ReportSource = crClinic1
End Sub
End Class
Last edited by ZedEx; Feb 24th, 2006 at 08:48 AM.
Reason: Spelling mistake
-
Feb 28th, 2006, 04:41 AM
#2
Thread Starter
Member
Re: Fields dont show up on crystal report ?
Anybody any ideas ? Please ?
-
Mar 7th, 2006, 04:27 AM
#3
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|