Results 1 to 5 of 5
  1. #1
    sabre1 is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    Oct 2010
    Posts
    22

    Values not being inserted into the tables from form


    I have a form which has multiple tabs and on each tab there are fields which are from multiple tables. I have a combo box on the first tab which successfully finds all the fields information as i have linked all the tables by the Entity_ID which is common in all the tables. However when adding in some information into the form, the Entity_ID is not inserted into the tables and therefore when using the combobox again which uses the Entity_ID the information does not come up. If anyone could shed any light on this problem i would greatly appreciate it, let me know if you need this explained further.
    Thanks.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    A form can only have one RecordSource unless you are using SubForms on your tabs. Is that the case?

  3. #3
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    info not writing to a record - may be cause by leaving the form when the record is still in write mode (a pencil icon to the left of the record). In write mode it is considered 'dirty'. You can force a me.dirty=false on form close event or some other event relevant to what you believe is appropriate.

    info not appearing in a combobox is because when the form originally opens it pulls in that data. an update/add will not be reflected. so you must requery that combobox.

    Hope this helps.

  4. #4
    sabre1 is offline Novice
    Windows XP Access 2010 (version 14.0)
    Join Date
    Oct 2010
    Posts
    22
    Thanks so much, it was because i was trying to have more than one record source, i put my fields into subforms within the tabs and linked them and it now works great, thank you very much for your quick reply and your help.

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Excellent! Ready to use the Thread Tools and mark this thread as Solved?

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

Similar Threads

  1. Replies: 8
    Last Post: 05-25-2010, 04:50 AM
  2. Replies: 7
    Last Post: 04-27-2010, 10:29 AM
  3. Replies: 3
    Last Post: 04-04-2010, 05:26 PM
  4. UNION two tables with same primary key values
    By carillonator in forum Queries
    Replies: 1
    Last Post: 02-02-2010, 08:54 PM
  5. Replies: 1
    Last Post: 06-20-2007, 07:26 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