trima kasih pak codenya,
akan saya coba, ke'nya klo buat trace enakan pakek ini

On 3/31/06, anthony_muliadi <[EMAIL PROTECTED]> wrote:
> coba buat connection info ke CR, (CMIIW) jadi ketika button
> cetak/print diclick lakukan connection ke CR sebelum membuka CR
>
> Imports CrystalDecisions.Shared
> Imports CrystalDecisions.CrystalReports.Engine
>
> private Sub Button_Print (...) ...
>             Dim tbCurrent As Table
>             Dim tiCurrent As TableLogOnInfo
>             Dim doc As New nama_file_report
>
>             For Each tbCurrent In doc.Database.Tables
>                 tiCurrent = tbCurrent.LogOnInfo
>                 With tiCurrent.ConnectionInfo
>                     .DatabaseName = "nama_database"
>                     .ServerName = "nama_server"
>                     .UserID = "userid"
>                     .Password = "passwordnya"
>                 End With
>                 tbCurrent.ApplyLogOnInfo(tiCurrent)
>             Next
>
>             Dim myReportsView As New reports_viewer
>             myReportsView.CRViewer.ReportSource = doc
>             myReportsView.show()
> end sub
>
> semoga membantu
>
>
> --- In [email protected], PALUARED <[EMAIL PROTECTED]> wrote:
> >
> > Dear All,
> >
> >
> > Mo tanya, aku pakek Crystal Viewer, tapi kenapa setiap di panggil
> selalu muncul
> > database login, untuk memasukan password.
> > gimana supaya tidak perlu memasukan password, jika saya klik lgs
> > tampil reportnya ?
> >
> > cat :
> > CRnya di buat dengan manual Drag n Down, menggunakan "Field
> Explorer"
> >
> >
> > TIA
> > --
> > Regards,
> > PALUARED
> >
>
>
>
>
>
>
> Wahana Programmer Groups Links
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>


--
Regards,
PALUARED

http://paluared.coconia.net/


Wahana Programmer Groups Links

<*> Untuk mengunjungi sponsor milis ini, klik link berikut:
    http://wahanaprogrammer.net

<*> Untuk menghubungi owner milis ini, kirim email ke:
    [EMAIL PROTECTED]

<*> Konsultasi pemrogramman bisa chat disini:
    Yahoo! Messenger: wahanaprogrammer
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Programmer-VB/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke