Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I want to allow one record per day per employee 1

Status
Not open for further replies.

Scoty

Programmer
Oct 25, 2000
278
US
I want one of 4 employees to be able to fill out one record per day (time sheet). If I allow dups (which I currently am) sometimes they will produce 2 time sheets. If I restrict dups this allows 1 time sheet period. no matter what day they enter it.
I would like to know how to allow them to enter once per day.... Is there a way to double index?
Thanks
Scotty
::)
 
Hi Scotty,
Why sure. If the "Primary key" on your table is the employeeID (or name if thats what you use) And the date, you will only be allowed 1 record per employee per date. :) Gord
ghubbell@total.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top