Im having trouble when my crystal report loads the record to the reportviewer....the situation is when there's already a record on the database when i create a blank report and i view the record using my reportviewer in runtime i can see the records correctly but when i try to add/delete or edit some records the records that i can view were the records that i already created before i create a blank report....
this is the code that i have for loading the .mdb file(ms access database)
im using a build-in crystal report for microsoft visual studio 2008.....Code:Imports CrystalDecisions.CrystalReports.Engine Public Class Form2 Private Sub Form2_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim cryRpt As New ReportDocument cryRpt.Load("C:\Documents and Settings\Buen\Desktop\WindowsApplication3\WindowsApplication3\CrystalReport1.rpt") CrystalReportViewer1.ReportSource = cryRpt End Sub End Class
hope you can understand my english ....thank you....![]()


Reply With Quote