Results 1 to 6 of 6
  1. #1
    Lin13 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    4

    Adding New Records Issues

    Im new to access and this is my first database.
    I have created a navigation pane with each tab linked to a query to show records selected from a list box. Also on each tab is a button for Add New and a button for Edits.
    Both the Add New and Edits are linked to forms for the original table being edited/added to. There are also Save and Close or Save and New buttons on each Edit/Add Page.

    The problem I am having is that when I try to add a new record ( havent tried edits yet) the following issues occur:
    1. the new first name being entered takes over a record that already exists.
    For example, I am entering data on Carrie Smith (phone, email, etc.) When I look for the new entry in the Employee table, it shows up as FirstName - Samuel LastName- Fry FullName - Ben Franklin and the detail information is about Carrie Smith.

    ** FullName is the main connection, but EmployeeID is the look up for FullName in all other tables except Employees. (inner joins were used in the forms based on queries (the view only forms), i know this is a no-no but it had been working until the edits)**

    2. Another name shift also occurs. Using the above example, if I then remove the error record and recheck my table I now have two records for a completely different person.


    Example, Mary Jones - details
    Mary Jones - details from above example
    Then, in the employee list box, only one mary jones is displayed.
    This may occur in table that is not the one being edited (not Employee table)

    Im at a total loss other than Ive set up the forms incorrectly.

    Thank you in advance!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Sounds like not creating new record but editing existing. Need to move to a new record row and enter data. If you are using a combobox to enter search criteria then it must be UNBOUND, otherwise will just change value in record.
    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
    Lin13 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    4
    The "edit" form is using a combobox that is unbound. The add new form is using text boxes linked to the original table and is set to data entry.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Then I am also at a loss. If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

  5. #5
    Lin13 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    4
    So after playing around more we've come to this summary:

    The forms I am using are automatically updating when I dont want them to.
    If I add Joe Dirt, into the employees form he will be added just fine. As soon as I click over to the next navigation tab is where things get bad.
    As soon as I click on the 2nd tab, the information for the last person viewed is given to the new employee.
    Then, there will be 2 records. One will be the original viewed person, and the second will be the viewed persons info but in the 1st records spot and the first and last name of the 1st persons records.

    For example if I am viewing Lori Smith and Add Pope Romeo, I will get 2 records for Lori. One will be her own original data, and the other will be bumped into the first records spot. The new person will take his own record. When I click on the next form, with the new person Pope selected, Pope will take Loris info and will update all the other forms in the same way.

    I will update a database on Wed.

    Thanks for your help

  6. #6
    Lin13 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    4
    uploading database later today

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

Similar Threads

  1. Issues settingup a form to subtract from records
    By funkenstein in forum Forms
    Replies: 1
    Last Post: 12-29-2012, 03:11 PM
  2. Adding records with subforms
    By rwest in forum Forms
    Replies: 3
    Last Post: 12-21-2011, 03:44 PM
  3. adding records
    By jwallace203 in forum Forms
    Replies: 3
    Last Post: 07-18-2011, 10:00 PM
  4. Replies: 10
    Last Post: 01-10-2011, 07:52 PM
  5. Adding Records
    By Rick West in forum Forms
    Replies: 7
    Last Post: 05-17-2010, 02:31 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