Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / March 2005

Tip: Looking for answers? Try searching our database.

Restruicting entries based on Date and Time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JohnB - 07 Mar 2005 15:51 GMT
Hi. Can anyone help with this one??

Im building a form which will allow users to create
records containing StartDate, StartTime, EndDate and
EndTime details as well as other information. I want users
to be restricted to creating records with StartDates and
StartTimes that are within the current week, defined as
being from 12.00 last Wednesday, to 12.00 next Wednesday.

If the user enters the StartDate first, then the
StartTime, is there some code I could use in the After
Update event of the StartTime field to check what the user
has entered in these two fields and to bar them and bring
up a suitable message if they are outside the current week?

Are there any examples of this sort of thing anywhere?

Thanks in advance. JohnB
JohnB - 09 Mar 2005 10:52 GMT
No reply needed here thanks. Reposted 08-03-05. Cheers,
JohnB
>-----Original Message-----
>Hi. Can anyone help with this one??
[quoted text clipped - 17 lines]
>
>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.