Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Stanley
 
Posts: n/a
Default db query with dynamic criteria

I need to be able to run a query from a cell to pull in 1 bit of data for a
particular date. I would like to be able to just call a funciton if possible
and pass it the date:
=GetData(A12)

In return I would get data from the Access database. I can't seem to find
any info on any of it except to populate a spreadsheet with all of the data
returned, but I only need one record and really only one field from that
record.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Stanley
 
Posts: n/a
Default db query with dynamic criteria

Not sure if it is the best way but I went back to just using ADODB and a
recordset. It works and works quickly.

-Stanley

"Stanley" wrote:

I need to be able to run a query from a cell to pull in 1 bit of data for a
particular date. I would like to be able to just call a funciton if possible
and pass it the date:
=GetData(A12)

In return I would get data from the Access database. I can't seem to find
any info on any of it except to populate a spreadsheet with all of the data
returned, but I only need one record and really only one field from that
record.

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
Criteria using "Or" and parameter query Troy Man Excel Discussion (Misc queries) 2 February 28th 06 05:56 AM
query criteria question Dcbrown428 Excel Discussion (Misc queries) 1 November 18th 05 05:20 PM
AHHH! Again JAA149 Excel Discussion (Misc queries) 0 October 31st 05 11:36 AM
AHHHH-Get Data from Multiple Excel workbooks JAA149 Excel Discussion (Misc queries) 5 October 30th 05 05:19 PM
Dynamic range names, multiple criteria, sumproduct [email protected] Excel Discussion (Misc queries) 1 September 20th 05 02:58 AM


All times are GMT +1. The time now is 10:34 PM.

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"