Results 1 to 2 of 2
  1. #1
    kohluis995 is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2013
    Posts
    1

    how to insert subform data to specific table. please help


    I have problem with inserting sub-form data to specific table. i have 2 table and one form.
    table A is for DLOOKUP, table B is the table i want my sub-form data to insert in.
    my table A have ID,name and class.
    my table B have ID and other column.
    Table A' ID and Table B' ID is related.

    i trying to insert my sub-form to table B instead it insert the data to table A.

    if there is any solution please help me.
    many thanks !

  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,931
    What do you mean table A is for DLOOKUP? DLookup is a domain aggregate function.

    Don't understand tables and relationship. Exactly what is this data for? What is the other column in table B? What do you mean you have one form? If you have a subform then you must have 2 forms.

    If you want to save the ID from table A into a record in table B, then set the form RecordSource to table B. Create a combobox that has table A as RowSource. Set the combobox ControlSource to the 'other' column in table B.
    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. pull data from a specific record in a subform
    By pleshrl in forum Queries
    Replies: 3
    Last Post: 04-21-2013, 05:07 AM
  2. Replies: 25
    Last Post: 01-29-2013, 08:49 AM
  3. insert data into oracle linktable from access table
    By newaccess in forum Import/Export Data
    Replies: 1
    Last Post: 01-04-2013, 02:20 PM
  4. Insert Image associated to specific value
    By albe_ACC in forum Reports
    Replies: 5
    Last Post: 09-19-2011, 03:02 PM
  5. Replies: 1
    Last Post: 12-28-2010, 11:24 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