Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
JT JT is offline
external usenet poster
 
Posts: 234
Default sql

I want to run a sql statement in Excel that will extract data from an Access
database. I have found this code but have a question. Value1, value2, etc.
are all part of an array. How would I modify this code to use the values in
the array? Depending on who is using it, the total number of items in the
array will change from person to person or from date to date. Thanks.......

Thanks....

SELECT column_name FROM table_name
WHERE column_name IN (value1,value2,..)
--
JT
 
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



All times are GMT +1. The time now is 11:49 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"