Re: Linking tables via ADO?
From: '69 Camaro (ForwardZERO_SPAM.To.69Camaro_at_Spameater.orgZERO_SPAM)
Date: 09/02/04
- Next message: Özden Irmak: "Re: Linking tables via ADO?"
- Previous message: Mike: "transfer of mdw users from one database to another"
- In reply to: Özden Irmak: "Linking tables via ADO?"
- Next in thread: Özden Irmak: "Re: Linking tables via ADO?"
- Reply: Özden Irmak: "Re: Linking tables via ADO?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Sep 2004 13:36:31 -0700
Hi, Özden.
You don't mention the object type for your "MyTable" variable, but I suspect
that it's an ADOX Table object. I've never tried using the Jet OLEDB
Properties for user-level security on an ADOX Table object, so I'm not sure
that they are even valid Properties for this object. However, for the
syntax that works just fine for an ADO Connection object, see the tip "How
to connect to an Access database with ADO after it has been secured with
user-level security" on this Web page:
http://www.Access.QBuilt.com/html/vba.html#UserLvlSecureADOCnxn
If the syntax doesn't work for your ADOX Table object, then you may want to
use the DAO library for a TableDef object, instead of the ADOX library.
HTH.
Gunny
See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.
(Any human can read my reply E-mail address and should alter it so that a
message will be forwarded to me. Spammers are free to use my UNALTERED
reply E-mail address. I will *never* get those messages!)
"Özden Irmak" <ozdenirmakatisnetdotnetdottr> wrote in message
news:uXtLPN6jEHA.3884@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I'm linking tables from other access databases to my master access
database
> in run-time via ADO code. I can do it for databases which has no password
or
> workgroup file attached for them like this :
>
> MyTable.Properties("Jet OLEDB:Link Datasource") = MySourcePath
> MyTable.Properties("Jet OLEDB:Remote Table Name") = TableName
> MyTable.Properties("Jet OLEDB:Create Link") = True
>
> Does anybody has the proper code samples to link tables from databases
which
> has password or has a workgroup file attached to it?
>
> Thanks in advance...
>
> Özden
>
>
- Next message: Özden Irmak: "Re: Linking tables via ADO?"
- Previous message: Mike: "transfer of mdw users from one database to another"
- In reply to: Özden Irmak: "Linking tables via ADO?"
- Next in thread: Özden Irmak: "Re: Linking tables via ADO?"
- Reply: Özden Irmak: "Re: Linking tables via ADO?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|