Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting data from the last six months
Message
From
04/03/2005 15:24:30
 
 
To
04/03/2005 15:18:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00992875
Message ID:
00992877
Views:
22
You must have a datestamp field to be able to do this, the datestamp field must be updated with DATE() or DATETIME() every time the record changes in any way.
ldDate=date()-182
SELECT * FROM yourtable WHERE DATESTAMP>=ldDate
>How do I write a Select statement that will retreive the data from just the last six months.
>
>Thanks
>jim
Previous
Reply
Map
View

Click here to load this message in the networking platform