Results 1 to 5 of 5
  1. #1
    SeaTigr is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Location
    U.S.A.
    Posts
    38

    Multi-Table Form Shows "#Name?"


    Greetings all,

    A quick thank-you to everybody who's responded to my other questions.

    So,

    Working on an inventory database that needs to store when security patches were applied to computers. Since more than one date needs to be stored (we want to keep a record of when every patch was applied), I created a separate table for the patch numbers and patch dates.

    I created a form, added in the various widgets for the main equipment table with no problem. When I added in the two text boxes for the patch number and patch date, I set the control source as

    =[Patch # and Date]![Unit IAVA Patch #]
    =[Patch # and Date]![Unit IAVA Patch Date]

    When I go to Form View mode, the boxes for the main equipment table are fine, but the two I had to set to the second table say "#Name?"

    I've checked, and there are no unintended spaces before the "=" in the expression builder.

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    A form can only be bound to one table or query. If you need to have a second table information appear, then you need to create a sub form that is bound to the second table. The mainform and the sub form are then linked via Parent/Child relationship.

    Alan

  3. #3
    SeaTigr is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Location
    U.S.A.
    Posts
    38
    That worked, thank you. Another quick question: How do I turn off the border? I set border style to Transparent but there is still a line and shading on the left hand side of the subform when I switch to Form View.

  4. #4
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Set the border color to the same color as the subform.

  5. #5
    SeaTigr is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Location
    U.S.A.
    Posts
    38

    Thanks

    Thanks, Alan. I really appreciate your help.

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

Similar Threads

  1. "Close form" action does not release table
    By TFisher in forum Programming
    Replies: 8
    Last Post: 10-23-2022, 11:54 AM
  2. Replies: 4
    Last Post: 02-13-2013, 02:35 PM
  3. Replies: 16
    Last Post: 07-22-2011, 09:23 AM
  4. "Group By" causes "ODBC--Call Failed" error
    By kaledev in forum Queries
    Replies: 1
    Last Post: 03-09-2011, 02:43 PM
  5. Replies: 21
    Last Post: 06-03-2009, 05:54 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