Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Classic Visual Basic (VB 6 or earlier) » Database Programming » Crystal Report


Crystal ReportExpand / Collapse
Author
Message
Posted 5/14/2010 3:22:36 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/19/2010 7:43:58 AM
Posts: 1, Visits: 4
dear all,
ihave tried this code to open my crystal report, but this code dont work. I use ms Acces with password protected. this is my code I use :
With crBayar
.ReportFileName = App.Path & "\Report\BAYAR.rpt"
.Connect = App.Path & "\data\finance.mdb"
.DiscardSavedData = True
.RetrieveDataFiles
.DiscardSavedData = True
.ReplaceSelectionFormula ("{Tb_Bayar.Bayar} >=" & Val(txtTotalFrom) & " and {Tb_Bayar.Bayar} <=" & Val(txtTotalto) & "")
.Destination = crptToWindow
.PrintFileType = crptCrystal
.WindowState = crptMaximized
.WindowMaxButton = False
.WindowMinButton = False
.Action = 1
End With

please help me, asa soon as posible

roziqin
Post #29282
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Mod, Mark, Keithuk

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 2:11pm