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: 23
Default Using Query to return data from SQL database

I am using an Excel spreadsheet to query a SQL database for information that
is stored by various dates. I only want to return information that was stored
in the SQL database within the last 24 hours. However, I run into a snag when
I am using the query wizard within Excel. When I get to the point where the
wizard asks if I want to filter the data I am retrieving, I enter that I want
the date field filtered by greater than or equal to "Today()-1". However,
Query does not recognize the Today() function. What should I enter to filter
my data by the date less than or equal to the last 24 hours or 1 day?
 
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
Importing data via an external database query rtiguy Excel Discussion (Misc queries) 3 October 13th 08 08:02 PM
Tool bar: Data/Import external data/New database query Daniel Setting up and Configuration of Excel 3 February 28th 08 08:40 AM
Importing Data via Database Query Franklin Smith Excel Discussion (Misc queries) 0 October 17th 07 05:37 PM
database query not showing foxpro database How I import data mangat New Users to Excel 1 June 24th 07 03:31 PM
Data Validation from a database query ? sean2000 Excel Programming 6 June 28th 05 08:52 AM


All times are GMT +1. The time now is 05:08 PM.

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"