Hi, Gerald.
how can I know the number of records entered by each users on a specific
date or by time.
Your form also needs to save the date the record was created, so alter the
table to include the DateCreated field (Date/Time data type), and then create
a text box on the form bound to this field. Set the DefaultValue Property of
the text box to Date( ). This will save the date that any new record was
created.
To determine how many records were entered by a certain user on a certain
date, create a new query and try:
SELECT COUNT(ID) AS Num
FROM tblMyTable
WHERE ((DateCreated = #10/15/2005#) AND (UserName = "Gerald"));
.. . . where ID is the primary key of the record, tblMyTable is the name of
the table, DateCreated is the date the record was created by the user, and
UserName is the field containing the user's name as selected from the list
box when the record was created.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.