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
Solved

Please help with this form!

Posted on 2013-06-13
2
217 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

839 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