I am trying to create a schedule that will filter on load by username (got this part covered) and by date. The date portion MUST show ONLY today plus 7 days. Ignoring olf dates and dates more then 7 days ahead....
So when the user clicks their "View Schedule" button, it loads a datasheet form and filters the user like so:
'DoCmd.OpenForm "frmSchedul e" acFormDS, , [User] = User'
But i cannit figure out how to add the time restriction to the where feild. The date they are supposed to work is stored in [wrkDate].....
Can anyone help?
So when the user clicks their "View Schedule" button, it loads a datasheet form and filters the user like so:
'DoCmd.OpenForm "frmSchedul e" acFormDS, , [User] = User'
But i cannit figure out how to add the time restriction to the where feild. The date they are supposed to work is stored in [wrkDate].....
Can anyone help?
Comment