Re: Automating linking dBase into Access
From: Viatcheslav V. Vassiliev (support_at_oledbdirect.com)
Date: 01/04/04
- Next message: ariful fajar: "Oracle stored procedure returning a recordset"
- Previous message: Brian Bushay TeamB: "Re: How verify if table exists in MSAccess 97"
- In reply to: Robert Emmons: "Re: Automating linking dBase into Access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 4 Jan 2004 11:17:26 +0300
For collections you should use
Properties->Item[WideString("...")]->Value
Item is default property. For different collections it could be Item, Items
or repeat collection name, as Properties->Property[WideString("...")].
//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi + ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)
"Robert Emmons" <remmons@aurigen.com> ???????/???????? ? ???????? ?????????:
news:tc3evvsrfredibohd5398p731jte40aitp@4ax.com...
> On Sat, 3 Jan 2004 11:35:07 +0300, "Viatcheslav V. Vassiliev"
> <support@oledbdirect.com> wrote:
>
> > Various suggestions for relinking tables to an MSAccess database
>
>
> Thanks for your help. I have made some progress, but I have not been
> successful yet. These lines seem to compile ok:
>
> Adox_tlb::TCOM_Catalog cat = CoCatalog::Create();
> cat->Create(WideString(
> "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=HitData"));
>
> Adox_tlb::TCOM_Table tbl = CoTable::Create();
> tbl->ParentCatalog = cat;
>
>
>
> But, I get an error on the following line:
>
> tbl->Properties[WideString("Jet OLEDB:Create Link")]->Value =
> True;
>
> Error:
>
> [C++ Error] MaintenanceFrm.cpp(85): E2034 Cannot convert 'WideString'
> to 'int'
>
>
> I would appreciate any futher suggestions.
>
>
- Next message: ariful fajar: "Oracle stored procedure returning a recordset"
- Previous message: Brian Bushay TeamB: "Re: How verify if table exists in MSAccess 97"
- In reply to: Robert Emmons: "Re: Automating linking dBase into Access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|