LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Mail Merge source Access Database using Excel VBA... Pls Anyone


You need a where clause (A filter) in the SQL. The Query wizard allows
allows you to add a filter. I beliee its the 3rd window in the wizard.
the Where need to be aon a seperate line like this

SELECT Submissions.Task_ID, Submissions.`Client Name`,
Submissions.`Effective Date`, Submissions.`Imp Mgr`, Submissions.`Due
Date`, Submissions.`Actual Date`, Submissions.`Date Difference`
FROM `C:\temp\submission`.Submissions Submissions
WHERE (Submissions.`Client Name`='Test')
ORDER BY Submissions.`Effective Date`


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=147644

Microsoft Office Help



 
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
Mail Merge source Access Database using Excel VBA fi.or.jp.de Excel Programming 1 October 26th 09 05:03 PM
Advanced Mail merge invoice from excel database BostonHR Excel Discussion (Misc queries) 0 October 15th 07 09:19 PM
problems using Excel as a mail merge database in Office XP djcten Excel Worksheet Functions 3 December 28th 06 05:26 PM
mail merge with Excel data source tjb Excel Worksheet Functions 1 December 19th 05 02:27 AM
Mail Merge from Excel Data Source to Word Mike Elkevizth Excel Programming 0 October 21st 04 10:09 PM


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