Crystal Report: connected to Access 2007 with vb 2008
Posted on 2010-09-06
Posted: Sep 6, 2010 11:35 AM Reply
I'm facing a problem, I can't connect a CR2008 Report to an Access 2007 Database in an application written with VB 2008.
It works with an .mdb database but not with a .accdb database, and I need an accdb!!!!
Could you please, help me?
Here is my code:
report1.FileName = PathToReports + "\Reports\RPT1.rpt"
report1.Database.Tables(0).Location = PathToDB & "\Database files\myDB.mdb" ==> If I specify the accdb, it doesn't work