Results 1 to 6 of 6
  1. #1
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130

    Exclamation Combobox updates form

    I have a combobox on my form that allows you to select an employee. Once you select the employee it updates the rest of the form with all of the information that is associated with that employee.

    For some reason everytime I close my DB and reopen it this combobox is no longer functional. Any suggestions for getting this fixed permanently?

  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,952
    Not enough info.

    What do you mean by 'updates' - what exactly happens when employee is selected - does some code run? What does 'no longer functional' mean - error message, wrong results, nothing happens?
    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
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    I get an error of: "Return without GoSub" and then it goes on to give error number 2950
    action name: SearchForRecord
    arguments -1, , First, ="[ID] = "& Str(Nz([Screen].[ActiveControl], 0))

  4. #4
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    When you select an employee from the combo box it switches all of the information of the form to that which is identified with the employee that was selected.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    Is the combobox UNBOUND? Controls used to input filter criteria must be UNBOUND.

    Are you using macro? I use only VBA. I don't see anything wrong with what you show as code.

    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.

  6. #6
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    Thanks for that advice. I mustve kept missing the step for it to be unbound. it is working now. Thanks again June.

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

Similar Threads

  1. Replies: 6
    Last Post: 11-30-2013, 02:41 PM
  2. Form Field value updates
    By l2extasy in forum Forms
    Replies: 2
    Last Post: 07-10-2012, 09:21 AM
  3. Tracking Log of updates in a form
    By cin324 in forum Access
    Replies: 9
    Last Post: 11-30-2011, 01:12 PM
  4. Combobox selection updates Table record
    By lucky in forum Access
    Replies: 4
    Last Post: 10-30-2011, 10:44 AM
  5. Replies: 0
    Last Post: 08-24-2010, 06:38 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