LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Database Querry

I need to have Excel run a database querry, prompting the user for
information.

The SQL that would be used is something a lot like this:
SELECT * FROM table18 WHERE (salesdate BETWEEN N'20050315' AND N'20050331')

I need to prompt the user for the year and month, preferrably with one
prompt, asking for the data in YYYYMM format, and then append the day number
to what is entered. How would I accomplish this?

Thank you.
Joshua


 
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 Querry Eva Excel Worksheet Functions 2 December 10th 09 05:34 PM
querry Eva Excel Discussion (Misc queries) 4 August 21st 07 11:42 PM
Use two different value to run a querry Arnaud Excel Discussion (Misc queries) 0 March 9th 07 10:28 AM
Querry Range and Add Sandy Excel Programming 0 March 8th 05 07:41 PM
Web Querry question Brian Excel Discussion (Misc queries) 1 December 11th 04 01:25 AM


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