Advertisement

05.19.2003 at 12:06PM PDT, ID: 20619802
[x]
Attachment Details

Link a table via ODBC in VBA

Asked by MADamiano in Microsoft Access Database

Tags: , , , ,

Simple question which I have done in the past yet cannot find help on how to do it. I know that I use a connect method, but cannot rememeber or find anywhere sample code to do this.

I need to in VBA code create a linked table, using a DSN. I want the table to be linked and seen as a table in the tables tab. I would also like to, via the VBA code, un link this table on a certain event.

I am having a brain freeze over this and am frustrated because I know that it is simple code.

Thank you,

Michael Start Free Trial
[+][-]05.19.2003 at 12:20PM PDT, ID: 8546577

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: odbc, vba, link, table, via
Sign Up Now!
Solution Provided By: DialM4Monkey
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.19.2003 at 12:44PM PDT, ID: 8546689

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.19.2003 at 03:06PM PDT, ID: 8547327

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32