Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete records between a time range
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00806306
Message ID:
00806511
Views:
31
Hi Soykan,

It's better to start new thread for unrelated questions.
In short, you would use ADIR() to get the list of files you're interested in. After that you would loop through array and check file dates. Or you can append file list to a cursor and use SELECT to filter them.

>Hi Sergey i am inserting but,
>i want to do this things
>
>1-wantto backup my test.dbf for eg. if date() > fdate('test.dbf') > 30 and only between date() - (date()- 30) how ?
>
>2-wantto erase if date() > fdate('test.dbf') > 30 ;
> delete records between date() - (date()-30) how ?
>
>i know answer is secret in the question :) but i wantto be sure
>
>TIA
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform