MS Access form problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ebo2006
    New Member
    • Oct 2006
    • 30

    #1

    MS Access form problem

    Hi. I am relatively new in MS Access. I want to make an entry/edit form to enter the number of hours a person took off for a given day. In the form I have a person search button which I am able to choose the person from a tblPerson table, and a calendar to get a specific date. The table I want to update is tblHoursOff which contain the PersonID, DateOff, ( both are part of the primary key), HoursOff, Reason, Comment fields.

    My problem is how to use the PersonID from the person search and the date I got from the calendar to show the record from the tblHoursOff if it is existing or enter a new record if in it yet.
Working...