Results 1 to 2 of 2
  1. #1
    kedstracker is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2011
    Posts
    1

    Pull Value from From Using Append Query

    I have two tables, Curriculum and Coursework Completed. Using a form based on the Coursework Completed table, that is already filtered to show a student's data, I am trying to add an Append Query so that when a curriculum is selected for a student, the required courses for that curriculum are pulled from the Curriculum Table and entered into the Coursework Completed Table. I can get this to work, but what I can't figure out is how to have the Student ID that is showing on the current record on the form be included and entered into the Coursework Completed Table as part of the Append Query. The student ID on the form is linked to the value from another table with the student's information. The Coursework Completed Table will not contain the Student ID until after the Append Query is run.

    These are the fields in each table/form:
    Curriculum Table: Curriculum, Course #
    Coursework Completed Table: Student ID, Curriculum, Course #
    Coursework Completed Form: Student ID, Curriculum, Course #
    Student Table: Student ID



    The Curriculum and Coursework Completed Tables are related by the curriculum field.

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    Not sure this is exactly what you want but if the student ID is displayed on the form, you can reference its value in a query with Forms!formName!controlName

    Also, just some housekeeping things, if at all possible, remove spaces and special characters (!@#$%^) from your table and field names. Makes life much easier.

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

Similar Threads

  1. Replies: 2
    Last Post: 05-08-2013, 03:37 AM
  2. Query can't pull parameter from combobox
    By testsubject in forum Queries
    Replies: 3
    Last Post: 03-08-2011, 11:26 AM
  3. Append query won't append
    By yelkenli in forum Queries
    Replies: 5
    Last Post: 02-12-2010, 11:19 AM
  4. Only pull out curtain data from a query
    By mela in forum Queries
    Replies: 0
    Last Post: 12-08-2009, 12:20 PM
  5. Replies: 1
    Last Post: 02-14-2007, 07:27 PM

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