Results 1 to 9 of 9
  1. #1
    woundup is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    8

    Making changes in a form that updates a table


    In the attached DB I have a form that has a combo box which enables you to select an employee and all the employee info is then pulled based on the selection. I want to make changes to the info in the form and have the changes update the correct employee on the table. Currently the from will not let me make changes to the info and the table seems to add new lines rather than updating the corresponding line. Any suggestions?

    Thank you in advance!
    Attached Files Attached Files

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Can't download your Database.

    Dale

  3. #3
    woundup is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    8
    Employee Contact.zipDale,

    Let's see if this file will work. If not can you view using Access 2007-2010?

  4. #4
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    woundup, you can not change any text box because it is bound to the combo box 254.
    You are not populating the form from the table, you are populating the from from the combo box.

    I have 2010, the first upload gives an error.

    Dale

  5. #5
    woundup is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    8
    Is there any other way to use a combo box to populate the info for the employee selected w/o binding the text boxes to the combo box?

  6. #6
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    You form has underlying data from the table.
    When you make a combo box for the form use the 3rd option.
    Then add all of the fields you need to the form.
    Leave the text boxes bound to the fields.

    The form will populate whenever you select something in the combo box.

    Dale

  7. #7
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Look at Form1 in this database.
    I changed your Employee Number to Number type.

    Test.zip

    Dale

  8. #8
    woundup is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    8
    I must be doing something wrong. I have changed each text box so they are no longer bound to the combo box. I also deleted the combo box and then added it back in using option 3 on the wizard, but when I select an employee the remaining data does not populate.
    Attached Files Attached Files

  9. #9
    woundup is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    8
    Sorry posted to fast. I got it to work.

    Thank you so much!

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

Similar Threads

  1. Completing Table updates
    By GraeagleBill in forum Programming
    Replies: 2
    Last Post: 04-10-2013, 11:51 PM
  2. Replies: 1
    Last Post: 09-15-2012, 08:22 AM
  3. Form no longer updates table; what'd I do?
    By SevenSignz in forum Forms
    Replies: 8
    Last Post: 03-04-2012, 12:25 PM
  4. Combobox selection updates Table record
    By lucky in forum Access
    Replies: 4
    Last Post: 10-30-2011, 10:44 AM
  5. Replies: 2
    Last Post: 03-29-2010, 11:52 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