Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default SQL Query in Microsoft Excel

Hi Sir,

I encounter some difficulty that need so enlightment. I can run the SQL
Query but i find it hard to do editing to the existing query in Excel. So i
went to look at how programming can be done:

Workbooks.OpenDatabase Filename:= _
"G:\Asia\Product\Operations\MolexStockReport\Q uery from Excel
Files.dqy", _
CommandText:=Array( _
"SELECT ADC_Parts.Mfg, ADC_Parts.`Mfg Part Number`, ADC_Parts.`On
Hand` FROM `G:\Asia\Product\ADC Part Di\ADC Parts`.ADC_Parts ADC_Parts
WHERE (ADC_Parts.Mfg='MOL') AND (ADC_Parts.`On Hand`0) ORDER BY
ADC_Parts.`Mfg Part Number" _
, "`"), CommandType:=xlCmdSql


however, i do not really understand what is this SQL all abt? Is there other
aleternative to use other than using SQL to filter data array to obtain what
i want using macro?

Waiting for soonestyour reply,
Junior
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
Microsoft Query in Excel Alexey[_2_] Excel Discussion (Misc queries) 4 September 24th 08 08:07 PM
Query from microsoft query- Excel 2007 טבלאות אקסל 2007 Excel Discussion (Misc queries) 0 December 24th 07 10:47 PM
Need help with Excel Microsoft Query erick-flores Excel Discussion (Misc queries) 2 August 30th 07 04:50 PM
Microsoft query in Excel nc Excel Discussion (Misc queries) 0 October 20th 05 12:38 PM
Excel Microsoft query nc Excel Discussion (Misc queries) 0 October 19th 05 12:04 PM


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