Bukannya RecordSelectionFormula itu harus nama field. Apa bukan Report.ReportFileName atau yg semacamnya
Maaf, soalnya udah lama ndak pakai VB. Ishak >-----Original Message----- >From: [email protected] [mailto:[EMAIL PROTECTED] >On Behalf Of [EMAIL PROTECTED] >Sent: Wednesday, June 29, 2005 4:51 PM >To: [email protected] >Subject: [Programmer-VB] Masalah report Local File System dg CR10.. > > > > > >Hi all, > >pernah ada yang pakai Loacl File System ngga untuk membuat laporan daftar2 >file di PC Lokal atau remote PC/Server..? >Saya dulu pernah pake CR 8.5 bisa sukses, tapi kenapa pas pake CR 10 gagal >yaa...?? > >Berikut source di VB6 saya : > > >Private Sub Cmd_Click() > xFileMap = "'" & txtFilenameUpload.Text & "'" > Screen.MousePointer = vbHourglass > 'directory servernya adalah \\ServerDocument\doc$ > Report.RecordSelectionFormula = "{__ServerDocument_doc$_.File Name} = >" & xFileMap > CRViewer1.ReportSource = Report > CRViewer1.ViewReport > Screen.MousePointer = vbDefault >End Sub > >Herannya pada saat command Report.RecordSelectionFormula = >"{__ServerDocument_doc$_.File Name} = " & xFileMap >ada error "this field is not known" dan saya coba tanda $ saya hilangkan >tidak error tapi laporan saya tidak muncul...!! > >Kenapa yaa..? bagaimana CR 10 bisa mengenal directory yang ada tanda $..? >Padahal tanda $ ini tetap saya butuhkan untuk hide sharing ke user..!!! >Kalo saya lihat di DSRnya nama directorynya tidak ada tanda $ dan yang saya >heran kenapa di CR10 harus didefinisikan tanda 2 underscore (__) bukan \\ > The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited. Internet communications are not secure and Dexa Group companies do not, therefore, accept legal responsibility for the contents of this message nor for any damage caused by viruses. The views expressed here do not necessarily represent those of Dexa Group companies. Untuk keluar dari millis ini, kirim email kosong ke: [EMAIL PROTECTED] 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/
