Results 1 to 3 of 3
  1. #1
    macinjosh1 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2012
    Posts
    2

    Subform lookup

    Hi.



    I'm working on a contact management database, and I'm having some problems on a subform. On the calls subform, I'm trying to get a combo box to list all of the names from the students table, full name column. But when a name is selected, it's changing all of the rows in the subform, not just the one record. Can someone help me on this?

    Thanks.

    Contact Database.zip

  2. #2
    Jester0001 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Location
    Indiana
    Posts
    69
    I noticed that on your Calls table, the data type for the field Student Name is set to Number (Long Integer). This is the first problem. You'll have to delete the relationship to this field, and change the data type to Text. Then, re-establish the relationship.

    Second, you don't have a control source for the Student Name field. (try using Student Name as the control source)

    Third, and I'm not sure if this is necessary, but I used this as the Row Source: SELECT Students.FullName FROM Students;

    Now, you should have a combo box to select the student names for the Calls Subform.

  3. #3
    macinjosh1 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2012
    Posts
    2
    Woot! Worked like a charm. Thanks. One last thing, I'm trying to get that field to show up on the Open Student Referral report, but it's not working. I'm typing in the same stuff, but the names aren't showing up. Thoughts anyone?

    Thanks.

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

Similar Threads

  1. Replies: 6
    Last Post: 05-05-2012, 08:43 AM
  2. Subform instead of multivalued lookup
    By drvo in forum Forms
    Replies: 1
    Last Post: 12-13-2011, 10:34 AM
  3. Subform Lookup
    By gilescarey in forum Forms
    Replies: 4
    Last Post: 10-10-2011, 12:20 PM
  4. Replies: 5
    Last Post: 06-29-2010, 01:24 PM
  5. Lookup in subform
    By ehrendreich in forum Forms
    Replies: 9
    Last Post: 12-13-2009, 03:44 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