CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ole + MSAccess



Hello all,

I'm trying to open an Access database

the first line is working:
 MSAccess =Variant::CreateObject("Access.Application");

the second one also:
    MSAccess.OleProcedure("OpenCurrentDatabase",
"d:\Noordenwind.mdb");

the third one fails:
    MSAccess.OleProcedure( "OpenTable" , "Klanten"); 

In the access help with VB you got to do a
DoCmd OpenForm "Werknemers", , ,"Achternaam = 'Koning'"

How do i implement this in c++ builder or
what is the correct way??

Thamks

Ernesto Laban



W Komornicki's Home Page | Main Index | Thread Index