Results 1 to 6 of 6
  1. #1
    TeamTraveler is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    May 2015
    Posts
    18

    Form creates a duplicate table record when saving

    New problem here and thanks again for all the help previously given. After making some tweaks to my tables, queries and other forms, I now have a new problem.



    I have a form where I build rate quotes I get from hotels, Quote Input Form. It is a complex form for me as I pulls in information from tables surrounding bids, university information, and hotels. I have a feeling the issue may be in the record source, but I'm not sure.

    When I retrieve a quote previously entered, no problem - everything pulls in beautifully. The issue is when I create a new quote from scratch. When I build a quote from scratch, I pull the bid info into the form via combo box. Then, from another combobox, I pull the hotel detail in. When I do, the hotel name shows up but none of the associated hotel data. If I save the new quote, it creates a duplicate hotel record with the hotel name only that was retrieved from the combobox.

    Where is my issue? Thanks in advance for the response.

    Matt
    Last edited by TeamTraveler; 05-10-2015 at 06:09 AM.

  2. #2
    TeamTraveler is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    May 2015
    Posts
    18
    Never mind. I figured out my own problem. Thanks.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Do you want to share? It might help someone else who encounters same issue.
    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.

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    ...another combobox, I pull the hotel detail in...the hotel name shows up but none of the associated hotel data. If I save the new quote, it creates a duplicate hotel record with the hotel name only that was retrieved from the combobox...
    I suspect that the 'hotel' Combobox was Bound to the hotel name field in the underlying Table; for this purpose it needs to be Unbound.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  5. #5
    TeamTraveler is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    May 2015
    Posts
    18
    Quote Originally Posted by Missinglinq View Post
    I suspect that the 'hotel' Combobox was Bound to the hotel name field in the underlying Table; for this purpose it needs to be Unbound.

    Linq ;0)>
    Bingo!! Things get a little clearer when you try to solve problem at the beginning of the day than at the end of it.

  6. #6
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Generally less hair left on the floor, as well!

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. Saving a form as a pdf in a table record
    By ande8698! in forum Access
    Replies: 4
    Last Post: 04-28-2015, 10:52 AM
  2. search operation creates NEW record in table
    By concurrent in forum Programming
    Replies: 2
    Last Post: 01-12-2015, 11:09 AM
  3. Replies: 3
    Last Post: 03-09-2013, 10:39 AM
  4. subform creates duplicate record
    By jheintz57 in forum Forms
    Replies: 0
    Last Post: 03-29-2010, 11:50 AM
  5. Open form which creates new record
    By mjhopler in forum Forms
    Replies: 7
    Last Post: 02-09-2010, 01:37 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