Solved

Please help with this form!

Posted on 2013-06-13
2
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

628 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