Page 1 of 1

XBASE VBcode

Posted: Sat Feb 05, 2005 11:51 am
by steve_Rivituso_(Guest)
I am currently trying to incorporate a xbase report into by VBcode up until now I have only been using The SQL Server edition. Below is a sample of my VB (SQl version Code).I attempted to simply change the extensions from RSW to RRW. At that time I get error Code Can Not Find Data source. Any Info would be appreciated.____RSReport1.DataDirectory = "\SQL_3SteverMayfareWB" & Check11(X).Caption & ".RSW"__RSReport1.DataSource = "Accounting Sql"__RSReport1.DisplayStatus = False__RSReport1.ReportName = "\SQL_3SteverMayfareWB" & Check11(X).Caption & ".rsw"__RSReport1.Parameters(0) = "pagenum= " & (Lastpage)__RSReport1.EndPage = 9999__RSReport1.PrintFileName = "\SQL_3postscriptin" & Check11(X).Caption & ".RSW"__RSReport1.Action = 1__Lastpage = 0 + RSReport1.LastErrorPage + Lastpage__RSReport1.Destination = 0