Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
cg cg is offline
external usenet poster
 
Posts: 11
Default Excel Add-In Using ADO to retrieve database records

Hello All,

OK, I am a NOVICE at best with ADO 2.8 but am enjoying it immensely! Here
is what I am in need to help with...

I am designing an Excel Add-In that will allow users, through different User
Forms, the ability to query information that is residing on an Access
Database. BUT the tables in the mdb are actually ODBC linked tables to
Oracle, IBM DB2, and SQL Server data. NONE of the tables in this database
where created, ALL are linked via ODBC.

When I build the User Form and run the code on my computer it works, but how
can I have other users be able to use the add-in and query the information in
my database when they don't have all the ODBC drivers or permission to these
ODBC tables? Is ADO the answer, or should I be using somthing else?

Also, can someone explain to me what a UDL file is and how to use it? Right
now I just "spell out" the connection in the VBE code.

Thanks!!!!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Excel Add-In Using ADO to retrieve database records

Hi,

You try Remote Data Factory objects.

regards
Karthi Ganesh


"cg" wrote:

Hello All,

OK, I am a NOVICE at best with ADO 2.8 but am enjoying it immensely! Here
is what I am in need to help with...

I am designing an Excel Add-In that will allow users, through different User
Forms, the ability to query information that is residing on an Access
Database. BUT the tables in the mdb are actually ODBC linked tables to
Oracle, IBM DB2, and SQL Server data. NONE of the tables in this database
where created, ALL are linked via ODBC.

When I build the User Form and run the code on my computer it works, but how
can I have other users be able to use the add-in and query the information in
my database when they don't have all the ODBC drivers or permission to these
ODBC tables? Is ADO the answer, or should I be using somthing else?

Also, can someone explain to me what a UDL file is and how to use it? Right
now I just "spell out" the connection in the VBE code.

Thanks!!!!

  #3   Report Post  
Posted to microsoft.public.excel.programming
cg cg is offline
external usenet poster
 
Posts: 11
Default Excel Add-In Using ADO to retrieve database records

Thank you! Can you tell me a little more about DataFactory Objects? How do
I use this in the typical ADO code that you see out there? Can you post any
example code that you might have seen where someone is using this the same
way I intend to?

Thanks!!!!

"Karthi Ganesh" wrote:

Hi,

You try Remote Data Factory objects.

regards
Karthi Ganesh


"cg" wrote:

Hello All,

OK, I am a NOVICE at best with ADO 2.8 but am enjoying it immensely! Here
is what I am in need to help with...

I am designing an Excel Add-In that will allow users, through different User
Forms, the ability to query information that is residing on an Access
Database. BUT the tables in the mdb are actually ODBC linked tables to
Oracle, IBM DB2, and SQL Server data. NONE of the tables in this database
where created, ALL are linked via ODBC.

When I build the User Form and run the code on my computer it works, but how
can I have other users be able to use the add-in and query the information in
my database when they don't have all the ODBC drivers or permission to these
ODBC tables? Is ADO the answer, or should I be using somthing else?

Also, can someone explain to me what a UDL file is and how to use it? Right
now I just "spell out" the connection in the VBE code.

Thanks!!!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieve data from excel database Vanya Noble Excel Discussion (Misc queries) 0 November 12th 09 12:51 AM
Copy Records from Access Database table(more than 5 lakh records in this table) to Excel Sheet divya Excel Programming 1 October 26th 06 12:12 PM
Retrieve Data from SQL database Programatically using Excel VBA ebferro Excel Programming 0 December 2nd 05 04:26 PM
Can an Excel query retrieve information from AS400 database? BeginningprogrammerLisa Excel Programming 0 September 22nd 05 04:11 PM
Can an Excel query retrieve information from AS400 database? BeginningprogrammerLisa Excel Programming 0 September 22nd 05 04:04 PM


All times are GMT +1. The time now is 12:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"