Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Extractind data from external database

Hello

I am trying to extract multiple data sets from multiple tables in a
external database. Currently I have to Edit each query so as t
nominate the information I require.

Is there a way I can do this (using VBA/user forms etc) that wil
populate these editable fields for me without having to edit each quer
in turn?

Ta



--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Extractind data from external database

The preferred method is to write a stored procedure in the RDBMS and
invoke it with the client passing the required values as parameters.
Use an appropriate control (textbox, combobox, etc) on the userform
and extract its Value property. Use ADO: a Connection object to
connect to the RDBMS and invoke the stored procedure (with parameters)
and rs objects to capture the resulting data sets.

--

TOMMO wrote in message ...
Hello

I am trying to extract multiple data sets from multiple tables in an
external database. Currently I have to Edit each query so as to
nominate the information I require.

Is there a way I can do this (using VBA/user forms etc) that will
populate these editable fields for me without having to edit each query
in turn?

Ta

T


---
Message posted from http://www.ExcelForum.com/

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
Importing data via an external database query rtiguy Excel Discussion (Misc queries) 3 October 13th 08 08:02 PM
Tool bar: Data/Import external data/New database query Daniel Setting up and Configuration of Excel 3 February 28th 08 08:40 AM
when importing data from external database does not load into wor. Hari[_2_] Excel Discussion (Misc queries) 0 March 19th 07 03:52 PM
How do I use Excel to post data to an external database? ctimrun Excel Discussion (Misc queries) 0 June 14th 05 05:39 AM
Extractind Data (Updated Emaple) Gary Thomson[_3_] Excel Programming 0 October 22nd 03 05:33 PM


All times are GMT +1. The time now is 11:04 AM.

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

About Us

"It's about Microsoft Excel"