ADOX - Create new query in Access Database
- From: "Giuseppe Porzio" <giuseppe.porzio@xxxxxxx>
- Date: Wed, 14 Jun 2006 16:59:19 +0200
Hello!
This is my question. I'm working with Delphi 6, ADO, MS Access 2000
Database.
I want create a new view (query) in Access database with ADOX library. This
is my code:
....
dbName := sPathStampe + '\WorkReports.mdb';
DataSource := 'Provider=Microsoft.Jet.OLEDB.4.0' +
';Data Source=' + dbName +
';Persist Security Info=False';
Cat := CoCatalog.Create;
Cat.Set_ActiveConnection ( Datasource );
sSql := 'Select * from DatiPrv';
Cat.Views.Append ('v_Prova', sSql );
.....
Compilator return error on sSql parameter of Append method (IDSpatch)
thaks
Giuseppe
Italy
.
- Follow-Ups:
- Re: ADOX - Create new query in Access Database
- From: Ian Hinson
- Re: ADOX - Create new query in Access Database
- From: Viatcheslav V. Vassiliev
- Re: ADOX - Create new query in Access Database
- Prev by Date: Slow import problem
- Next by Date: Re: ADOX - Create new query in Access Database
- Previous by thread: Slow import problem
- Next by thread: Re: ADOX - Create new query in Access Database
- Index(es):
Relevant Pages
|