Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

working days and loops

Forum home » Delegate support and help forum » Microsoft Access Training and help » Working Days and loops

Working Days and loops

ResolvedVersion 2003

David has attended:
Access Advanced course

Working Days and loops

Hi

I have been assigned the task of writing in access a rota for the judges in our court. They work on a weekly or 2 weekly pattern and they dont work weekends or bank holidays. I have setup a table with all the dates in for 2009 and all the different court locations. What I am having trouble visualising is how to create some sort of loop to enter in the database where the judge will be. For example I have a Judge (Smith) who sits Mon-Thurs in Gloucester and Friday in Cheltenham. What i want to do is populate my database with his name against the dates that correspond to Mon-Thurs for Gloucester court column and then Friday's against Cheltenham court column?

Any help would be appreciated.

Regards
Dave

Edited on Thu 9 Apr 2009, 10:44

RE: Working Days and loops

Hi Dave

Interesting request, thanks!

Two ways to assist in you achieving your rota goal.

1) Attend our 2 day Access VBA course, the topics you learn will equip you with the tools needed to complete your objective.
more information on the course
click here


2) Consultancy, we can either train and develop the solution for you, or complete and hand back to you for testing, but to do so is beyond the scope of a quick 5 - 10 minutes via this forum.

If you can send us a copy/ captured screenshots of your database we will then be able to look at the structure of your database and how best to achieve your rota objective.

We may well find that this will take some trainer time to complete and therefore may incur a cost, but we will let you know anyway.

If you are interested to pursue either path, please let us know.

Regards

Jacob

Thu 16 Apr 2009: Automatically marked as resolved.

Access tip:

Closing form after a certain time period

To make a form close automatically after a certain time period, you need to assign the close function to a macro.

Save the macro and ope up the form in design view. open the Properties sheet.

In the TimerInterval property enter the length of time you want the form open for. This should be in milliseconds, so for instance if you want the form open for 5 seconds enter 5000, for an minute enter 60000.

You now need to attach your macro (to execute the Close action) to the OnTimer event property of the form.



View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.