Results 1 to 2 of 2
  1. #1
    AccessNewb11 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    23

    Database Sub Form Problem

    Hello all,
    Thank you in advance for any help you can offer! I am an Access Newb and am still trying to figure out parts of using the program. I have attached my database for your review in helping me solve my problem.

    I am building a database where I can register officers from law enforcement agencies into classes. I want to be able to create queries as a roster for each class, with the date. For instance, one query would be called "Arresting 101 8/30/14".

    Anyway, here is my problem: I inserted a sub form onto the main form, called "Name of Class". I then converted the "Name of Class" field into a combo box so that I can choose the class name easier. However, when I choose a class to go with the student, for instance John Doe is registering for Perishable Skills, it won't save with John's record. If you load the Student table, you will see I have other stuff saved for John, but I cannot get the Name of the Class to save in his record...therefore, it would not show up on the query, which isn't working either, but that's another forum post!

    Help!



    Thanks again.

    ~Laurel May~
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    Table structure probably not correct. Can student attend multiple classes? Each class can be associated with multiple students? Consider:

    tblClasses
    ClassID
    ClassName
    ClassDate

    tblStudents
    StudentID
    StudentLast
    StudentFirst
    StudPostID
    StudAgencyID

    tblStudentClasses
    ID
    ClassID
    StudentID
    DateEntered
    ProcessorID
    DateReimbursed

    Then options for data entry:

    1. single form bound to tblStudentClasses with comboboxes to select student and class

    2. main form bound to tblStudents and subform bound to tblStudentClasses with combobox to select class

    3. main form bound to tblClasses and subform bound to tblStudentClasses with combobox to select student
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 03-14-2013, 08:39 AM
  2. Problem with Database
    By colombianaccess in forum Programming
    Replies: 0
    Last Post: 03-09-2011, 08:26 AM
  3. PTW Database Problem
    By Singapore Sam in forum Access
    Replies: 3
    Last Post: 12-05-2010, 02:41 PM
  4. Replies: 2
    Last Post: 06-14-2010, 03:25 PM
  5. problem with my database
    By skylinekiller in forum Access
    Replies: 1
    Last Post: 01-25-2008, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums