Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Syntax in MSQuery
Message
From
12/02/2000 22:58:42
 
 
To
All
General information
Forum:
Microsoft Office
Category:
Excel
Title:
SQL Syntax in MSQuery
Miscellaneous
Thread ID:
00331458
Message ID:
00331458
Views:
45
I'm unable to select records of the last 30 days.

I want my query to always return all records of the last 30 days. This statement works in Microsoft Visual FoxPro 5. Yet Microsoft Query "Stops Responding" when trying to finish reading the records from my VFP table.

SELECT vhtckpop.* FROM vhtckpop vhtckpop WHERE (vhtckpop.mfgdate>DATE()-30)

Other VFP functions work well within MSQuery's SQL Dialog Box, at least within the fieldlist.

Is there some other way to specify "Always the last 30 days worth of data"?
Next
Reply
Map
View

Click here to load this message in the networking platform