Results 1 to 4 of 4
  1. #1
    mike02 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    245

    1 text box control, from two tables

    Hey,


    I have a multi-table input form. Is it possible to input 1 item in a cbo box, and have it update a field in both tables. IE

    enter Product 1 in the combo Box,

    enters Table 1

    1 (Product1)

    Enters Table 2

    1 (Product1)



    Both tables have the same field name as it is a foreign key..

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    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.

  3. #3
    mike02 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    245
    I have the subform setup just like you had stated..... but how to I make the value of one = another? I have always used the Control source when doing that... thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    If this is a form/subform arrangement of related parent and child records, the subform container control will automate saving the foreign key value. Set the subform container control Master/Child Links properties to the PK/FK fields. Set the ControlSource property of textboxes to the PK/FK fields.
    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. Product No. Text Box control and 12-001
    By ToolJob in forum Forms
    Replies: 3
    Last Post: 04-13-2013, 02:02 PM
  2. Replies: 12
    Last Post: 12-11-2012, 09:27 AM
  3. Control within Static Text
    By mcrow in forum Reports
    Replies: 3
    Last Post: 06-07-2012, 10:41 AM
  4. Text control to act like combo control
    By chris.williams in forum Programming
    Replies: 2
    Last Post: 11-11-2011, 10:12 PM
  5. Control Source for Text Box (#error)
    By km8415 in forum Forms
    Replies: 3
    Last Post: 06-27-2010, 10:45 AM

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