You are right, I didn't give all the details. I am working on a student
database in Access 07. I want to keep daily attendance of about 300 students
as they walk into the building. In its simplest form, I have a table
"Demographics" with all demographic information "ID" is the primary key and
it is the unique student ID number assigned by the district. I also have a
table "Attendance" field 1: primary key, auto per entry, field 2: ID
(student ID), field 3: Status (combo box with choices UNX [unexcused], EXC
[excused], PRE [present] UNX being default value, field 4: EntryTime
(datetimestamp).
When student walks into building I want to click on the name on the form and
the data will be entered into the attendance table as UNX change to PRE and
date/time entered into respective fields.
I am able to do this already using a combo box and scrolling down, selecting
name, and selecting PRE from the next box and pressing enter. It is
difficult to scroll down a combo box of 250 - 300 names while student are
entering school in the morning. That is why I wanted a form that would list
the names and I could scroll down the page and click the last name to cause
the data entry to happen.
I left all this out before because I was in a diffent forum and made an
assumption that I shouldn't have about everyone knowing my problem.
Thanks,
Del Dobbs
Jeff Boyce said:
Del
"How" depends on "what" ... and you haven't described what table/data
structure you're using.
And if I understand your description, you want to replace one code ("PRE")
with another code ("UNX") ... won't that eliminate any record of when/how
long the "PRE" code applied? What about the idea of adding a date/time
value to the "PRE" code record, then adding a new record with "UNX".
(since we aren't there and don't know your situation, these are total shots
in the dark...)
Regards
Jeff Boyce
Microsoft Office/Access MVP
I found a command "create multiple items" in the form design tab. I was
able
to link this based on the demographics table and eliminate all information
except for StudentId, LastName, FirstName. Now there should be a way to
create an event when I click on the last name that will cause the "UNX" to
change to a "PRE" in the tableattendance.status and the Time and date to
be
entered in the table attendance.entry time(datetimestamp)? Anyone have any
ideas do I use the expression builder?
Thanks
Del Dobbs