linking tables using ADO

  • Thread starter Thread starter Jorge Novoa
  • Start date Start date
J

Jorge Novoa

Hello everyone,

I need to link tables programatically, I've already got the code using DAO,
but.. I'd like the ADO way, could anyone help me?

thanx!
 
OK, but...
Sooner or later we'll have to leave DAO in the past.

Anyway, which is the ADO way?

Regards.
 
The 'ado way' would be to create a view (a query) instead
of a linked table. You create views using DDL like this:

..execute "CREATE VIEW view [(field1[, field2[, ...]])] AS selectstatement"

selectstatement would be something like this:

Select * from [database].


(david)
 
ADO is no better than DAO in respect to working within an Access
application. DAO is not going away anytime soon...hell, its part of the
Windows OS! If anything, ADO is more likely to be deprecated first. Your
comment suggests a bias based on misconceptions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top