|
-
Mar 10th, 2000, 11:43 PM
#1
Thread Starter
New Member
How do I write a procedure that find all the dates in a field from a table in a Access database that are the same week as today's date, or a selected date. Format is dd/mm/yy.
Please help, Thanks a million 
-
Mar 11th, 2000, 03:41 AM
#2
Lively Member
i am no vb expert and i'm sure that there is an easier way to do this.
'compare return values of
'ww = week of year
datepart("ww", now) = datepart("ww", entry in database)
'you may also want to compare the year
datepart("yyyy", now) = datepart("yyyy", entry in database)
again, i am no expert but i hope this helps
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
|