Link to home
Start Free TrialLog in
Avatar of sml41
sml41

asked on

dbgrid & access 2000

i am trying to read a database using a data control, the following error ocurs<<<Unrecognized database format <filename>. (Error 3343)>>>.

other forms are ok reading. the code i use is<<  Me.Data1.DatabaseName = (App.Path & "\NewMaster.mdb")

  Me.Data1.RecordSource = "select * from tblcustomers"

it sops at data1.refresh

i tried to repair database as suggested, but same problem. same data controls used in Access 97 dbase, works ok.

many thanks
ASKER CERTIFIED SOLUTION
Avatar of okcman
okcman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sml41
sml41

ASKER

Yes many thanks, it works ok