Solved

Please help with this form!

Posted on 2013-06-13
2
208 Views
Last Modified: 2013-06-14
Hello everyone,

I'm really struggling with a form in a registration database I'm making for an event next week. I've tried a couple of other forums but to no avail - hopefully this site will prove to be the one that helps!!

I have one table, called details, which has the follow fields: ID, ChildName, Age, ParentPhone, Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday (those last few fields are to record daily attendance).

So, all the first fields are filled in before the event starts… on a daily basis, all that needs filled out is the check box for the relevant day (saturday, sunday etc).

I've made a simple form for each day. It has three of the fields on it - 'ID' , 'ChildName' and 'Saturday' (or whatever the day is). The 'ID' field is a combo box - entering the child ID (which is done using a usb barcode scanner - simply enters a number) 'opens' the relevant record.

Here's what I want to happen - I want the registrar at reception to simply have to:

1. Scan the ID barcode
2. Once the record is opened it then...
3. .. ticks the 'saturday' box (labelled 'present') for that day
4. saves the record
5. returns the cursor to the ID box (labelled Search) ready for the next child..

I trust this makes sense. I've been really struggling to do this - I'd really love someone to be able to help. I can provide Skype details if a vocal explanation would be more understandable!

Thanks,

Andrew
0
Comment
Question by:Armacn
2 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 39244544
Andrew,

 Your struggling a bit because the table design is incorrect.

 You should have one table for the children with ID, ChildName, Age, ParentPhone, etc.   and one table for the attendance

tblAttendance - One record per child per date:
ChildID - Foreign key to tblChildren
Attended - Date/time

The two fields combined make up the primary key.

 Your form then would be a main/subform combination.

 The main form would be bound to the child table.   You'd have a combo box control to do the lookup and it would be bound to their ID.

  You could then scan or type in the ID.

  When that happens, the parent / child names would fill in and all the other detail.

  The subform would show the attendance records.

  A second form could be used for check-in.

  Have the current date, a combo again for lookup on the child ID, and a OK button.  Clicking OK would add a new record (insert) a record into the attendance table (you can do this with an append query).

Jim.
0
 

Author Comment

by:Armacn
ID: 39247904
Brilliant Jim, thank you very much!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
subtract 1 in Access 2003 query 7 39
SQL profiler equivalent in MS-Access 3 44
Is it possible to reset DSum? 12 43
Access database form in matrix view 14 15
Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now