DeveloperBarn Forums

DeveloperBarn

Programming & IT forum

Appointment - Event - Holiday Planner Database

This is a discussion on Appointment - Event - Holiday Planner Database within the Access Database Samples forums, part of the Microsoft Access category; Holiday – Appointment – Meeting – Database Sections Covered. Holidays Holiday Half Days Bereavement Sick Days Meetings Reports Appointments Holiday ...

Go Back   DeveloperBarn Forums > Databases > Microsoft Access > Access Database Samples

  #1  
Old January 6th, 2009, 07:45 PM
AOG123's Avatar
Lightning Master
 
Join Date: Mar 2008
Location: Fortress Of Solitude
Posts: 218
Rep Power: 5
AOG123 is a jewel in the roughAOG123 is a jewel in the roughAOG123 is a jewel in the roughAOG123 is a jewel in the rough
Default Appointment - Event - Holiday Planner Database

Holiday – Appointment – Meeting – Database

Sections Covered.
  • Holidays
  • Holiday Half Days
  • Bereavement
  • Sick Days
  • Meetings

Reports
  • Appointments
  • Holiday Detail
  • Holiday By Month
  • Holiday Summary
  • Sickness Summary

The db is primarily for recording holidays, so in order to enter data the employee must exist in the Employee Data Form, but also exist for the Current Year.

In my opinion this was the most logical approach to calculate entitlements correctly and only return data for the specific year on the main form. This is also a benefit as the db will not return staff who may have left the company in previous years. This does not effect the calendar as all entries can be returned regardless of the year.

****IMPORTANT****

There is a issue with the original coding in regards to the Calendar and i’m not much in the mood to try and reinvent the wheel on this, See Below

Private Sub PopulateCalendar()
'strFirstOfMonth = Str(intMonth) & "/1/" & Str(intYear)
'Use above for non european standards, and comment out duplicate line
strFirstOfMonth = "1/" & Str(intMonth) & Str(intYear)

Comments on this post
jmurrayhead agrees: Pretty cool, AOG. All it needs is an employee search form and it's eggs
Attached Files
File Type: zip Appointment Event Planner.zip (105.9 KB, 209 views)
__________________
If i helped you, make me famous by clicking the

Status: Currently Unemployed - Looking for Work, Can be contacted on thethresher@hotmail.co.uk

Last edited by AOG123; February 9th, 2009 at 08:02 AM.
Reply With Quote
  #2  
Old January 8th, 2009, 02:45 PM
AOG123's Avatar
Lightning Master
 
Join Date: Mar 2008
Location: Fortress Of Solitude
Posts: 218
Rep Power: 5
AOG123 is a jewel in the roughAOG123 is a jewel in the roughAOG123 is a jewel in the roughAOG123 is a jewel in the rough
Default

I have made important additions and changes to this sample ,. once i'm done i will upload a new copy. <watch this space>
__________________
If i helped you, make me famous by clicking the

Status: Currently Unemployed - Looking for Work, Can be contacted on thethresher@hotmail.co.uk
Reply With Quote
  #3  
Old January 17th, 2009, 05:19 AM
Barn Newbie
 
Join Date: Jan 2009
Posts: 8
Rep Power: 2
Carenas is on a distinguished road
Default Insert a Picture

Hi AOG....

Thanks very much for your help with my Stamps Database...I have been browsing the developerbarn and have found it very informative and interesting, personally I won't be able to help anyone as I am a newbie, but have made an small contribution to help with the expenses in running the board...
Keep up the good work

Carenas

Comments on this post
hamandi agrees: Thanked Post
Reply With Quote
The Following User Says Thank You to Carenas For This Useful Post:
hamandi (January 28th, 2009)
  #4  
Old February 9th, 2009, 08:00 AM
AOG123's Avatar
Lightning Master
 
Join Date: Mar 2008
Location: Fortress Of Solitude
Posts: 218
Rep Power: 5
AOG123 is a jewel in the roughAOG123 is a jewel in the roughAOG123 is a jewel in the roughAOG123 is a jewel in the rough
Default

Db is now working,

Read post 1 carefully if you have any problems.

Comments on this post
jj72uk agrees:
__________________
If i helped you, make me famous by clicking the

Status: Currently Unemployed - Looking for Work, Can be contacted on thethresher@hotmail.co.uk
Reply With Quote
  #5  
Old August 31st, 2009, 12:28 PM
Barn Newbie
 
Join Date: Aug 2009
Posts: 1
Rep Power: 1
jj72uk is an unknown quantity at this point
Default Little tweak

First of all massive respect, this is fantastic

I've been playing around with this and am having trouble making a couple of minor tweaks.

i) On the right box, named holidays, it has the date, half day, maternity etc etc

What I want is the half day box to be changed to hours taken and then the entitlment recalulated correctly.

So instead of taking a day off entitlement or a half day etc at my company the entitlement is done in hours, eg a person may have 180 hr paid holiday, so it would be good to be able to enter to amount of hour holidays taken.

And...

ii) Not as important, but would be nice, is if a employee tries to book a holiday when there is already 2 off on that day it will come up with a warning message or something similar.

Any tips?
Reply With Quote
Reply

  DeveloperBarn Forums > Databases > Microsoft Access > Access Database Samples

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
[VBA] VBA Code on an On Click Event Procedure CushingMT Microsoft Access 5 December 18th, 2008 08:05 AM
On onchange event hide blank frame guddu JavaScript Programming 3 September 8th, 2008 09:14 AM
Grouping buttons to one event Shem .Net Development 8 July 17th, 2008 06:53 AM
adding an event for my btnDelete in repeater Shem .Net Development 13 July 15th, 2008 09:33 AM
addLoadListener - adding onload event in generic way Shadow Wizard JavaScript Code Samples 0 July 13th, 2008 01:20 PM


All times are GMT -4. The time now is 10:24 PM.


Copyright ©2008-2010, DeveloperBarn

Content Relevant URLs by vBSEO 3.3.2