Results 1 to 2 of 2
  1. #1
    rb26dett26 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2016
    Posts
    8

    Parent Table and Student Table. Autofill data if last name and first name exists in the database

    I am trying to make a form in access to register new parents with their students. The Student can be an adult or a child. The table will allow me to input new students without parents.

    I want to set the form up to where I "Montgomery Rachel" already exists in the database with her information (phone# address etc) it will autofill that data.

    For tblStudents
    --- StudentId AutoNumber


    StudentLastName Short
    StudentFirstName Short
    Age
    Phone#
    Email
    Address
    ParentId_FK



    For tblParent/Guardian
    guardianId_ PK
    Guardian1_last Name
    Guardian2_first Name
    PhoneNumber_1
    Guardian2_last Name
    Guardian2_first Name
    PhoneNumber_2
    Email
    Address

    Would I have to use a query to get the results?

    I have looked online for a guide but most only use the Id to where the user inputs the Id and gets the autofill data. I like to autofill the data via their last name and first name

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    The name will be selected from a combobox, correct? The first column in that combobox will be the StudentID, use that to set a filter and requery the form.

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

Similar Threads

  1. Replies: 1
    Last Post: 03-31-2016, 03:33 AM
  2. Replies: 2
    Last Post: 08-24-2015, 02:56 PM
  3. Help with Table Planning in Student Database
    By whitelexi in forum Access
    Replies: 5
    Last Post: 03-09-2014, 03:08 PM
  4. Replies: 3
    Last Post: 08-09-2012, 01:49 PM
  5. Replies: 7
    Last Post: 06-10-2011, 05:40 AM

Tags for this Thread

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