kalau saya boleh tau kamu memakai databasenya apaan, karena sintaknya mungkin
agak sedikit beda
ini bukan coding sebenarnya, hanya tehniknya saja:
' ini object reportnya '
Set rApplication = CreateObject("crystalruntime.application")
Set rReport = rApplication.OpenReport(App.Path & "\" & gINIPathFileReport &
"\" & gINIFileRptMsPeriode)
With rReport
.Database.Tables(1).SetLogOnInfo "", gDataSource, gNamaUser, gPassUser
.DiscardSavedData
.Database.Verify
End With
' ini object CrViewernya '
With CrRptMsPeriode
.ReportSource = rReport
.DisplayGroupTree = False
.ViewReport
.Zoom 90
End With
----- Forwarded Message ----
From: achmad zaindra <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, January 9, 2008 11:21:01 AM
Subject: [indoprog-vb] Crystal report 9.0
rekan2 programmer ,
Apakah rekan2 programmer ada yang tahu bagaimana script agar crystal report
yang kita gunakan langsung me-refresh database yang digunakan,tanpa harus kita
tekan tombol refresh di crsytal report viewer nya (lambang petir) ??
Saya sudah menggunakan sintax :
"crreport.refresh" tetapi data yang ditampilkan tidak refresh otomatis,saya
masih harus menekan tombol refresh dari crsytal report nya,baru datanya mau
merefresh.
Mohon pencerahan dari rekan2 sekalian bila ada yang mengetahui.
Best Regds,
____________ _________ _________ _________ _________ _________ _
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile. yahoo.com/
;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ
[Non-text portions of this message have been removed]
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[Non-text portions of this message have been removed]