|
-
August 1st, 2001, 02:59 PM
#1
Detecting Changues in Date
Hi Everyone...
I am using Database Controls, but my Database is growing quickly. I think to use other Database by Day(One per Day).
I build a Database in running time with Name using Date and Time... I.E. 20010725183045.mdb (Date July 25 of 2001 and Time 6:30:45pm)
I need (Event or other thing) to detect when changues the Day...
How to detect increments of Day when Pass of 20010801235959.mdb to 20010802000001.mdb ?
Thanks...
[email protected]
-
August 1st, 2001, 07:36 PM
#2
Re: Detecting Changues in Date
first way, use a timer of resolution 1 second, and in the timer event read the date to figure out if the day change.
second way, in the database update function (where you add record), check the date first before updating record. if it is new day, close old file, create new file.
HTH
cksiow
http://vblib.virtualave.net - share our codes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|