Results 1 to 3 of 3
  1. #1
    Tesseract is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2013
    Posts
    2

    Creating a database to track work hours. Questions.

    Good day,



    I have been using Excel to keep a daily track of when people are in to work, but the number of persons employed has increased and it is taking too much time to manually input data into the sheet.
    I am looking at Access and I would like to know if what I want is possible.

    The fields I would need are , Name , Date , Time worked(1 for a full day and 0.5 for a half) , Reason worked, and funded by(inside/outside organization)

    Question:

    I'm going to describe what I would like, and can you tell me if it's possible.

    I would like to make a template of form that has the following options.

    1. The ability to select a date (possibly through a calendar selection)
    2. Select one or multiple different persons from a list
    3. Possibly two check boxes (full/half day) - that when selected input a 1 or 0.5 into the database
    4. A text entry for reason worked.
    5. Another check box for inside/outside funding that reflects the time worked in step 3 and that can be queried to see how many total days funding was given.

    Would this be possible, please if you need something clarified let me know.

    Thank you

  2. #2
    apr pillai's Avatar
    apr pillai is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Alappuzha, India
    Posts
    209
    Click image for larger version. 

Name:	form design.jpg 
Views:	12 
Size:	41.8 KB 
ID:	12287

    A Sample Form image is attached, with a Calendar Control and with two Combo Boxes for full/half day and inside/outside options.

    The Calendar control can be inserted from the ActiveX Controls Button and you need a one line VBA program to insert the selected date into the Date Field: say myDate. Sample Code is given below:

    Code:
    Private Sub Calendar1_Click()
      Me![myDate] = Me.Calendar1.Value
    
    
    End Sub
    You cannot use Check Boxes for full/half day or inside/outside cases because the returned values from checkboxes are TRUE/FALSE (-1/0). Combo Boxes can be set with required values.

    For details on Multiselection of Listbox items search the term MULTISELECT in Access Help.

  3. #3
    Tesseract is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2013
    Posts
    2
    Thank you for the information. I will give it a shot.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 08-08-2012, 01:42 PM
  2. Replies: 4
    Last Post: 08-06-2012, 10:25 AM
  3. Replies: 1
    Last Post: 08-06-2012, 08:47 AM
  4. Replies: 2
    Last Post: 07-18-2012, 08:14 AM
  5. Creating a Database to track Employee Training
    By osolaru in forum Database Design
    Replies: 9
    Last Post: 08-25-2011, 01:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums