Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm trying to set up an Excel workbook with a dynamic link to an Access
database containing quality data, involving dates. I want the workbook to always import data for the last 90 days. When I try to set this up using MS Query, to try to filter data I've tried several different variations where time is greater than or equal to: date()-30 today()-30 now()-30 And every time, it comes back as an error. It seems to be setting the query so that the entire statement is a date variable, eg "Syntax error in query expression '((Table1.Time=#date()-30#))'" where I'm pretty sure that the query should read "((Table1.Time=date()-30))", but I can't find a way to edit the query directly. It insists on using the Query Wizard instead. -- Burnnie Holliday Data Wrangler |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic named range reference from external workbook | Excel Discussion (Misc queries) | |||
MS Query Refresh Based on Dynamic Named Range | Excel Discussion (Misc queries) | |||
help how to crate group of date with Dynamic Range? | Excel Discussion (Misc queries) | |||
How do I enter a date range ie -7 from current date in MS QUERY | Excel Discussion (Misc queries) | |||
Help : Using Parameters with External Date Query | Excel Discussion (Misc queries) |