Results 1 to 4 of 4
  1. #1
    sivega is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    12

    Combo Box Not finding Records on Form

    I have a combo box on a form that is bound to a table. The combo box is supposed to find records and populate the other fields on the form for modification. This worked at one point but not anymore.



    Could really use some help. Thanks!!

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    if you're using your combo box as a search criteria it should be an unbound field, then requery your form in an appropriate place (i.e. in the ON EXIT property of the combo box). Just make sure the PK of the combo box matches the PK of the form you're doing data entry against.

  3. #3
    sivega is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    12
    I found the problem: The Data Entry property was set to Yes. When I set it to No, it started working again. I would prefer it to open to a record when the form is opened but it can't be done.....

    Thank you!!

  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
    Quote Originally Posted by sivega View Post

    ...I would prefer it to open to a record when the form is opened but it can't be done...
    If the above was supposed to say

    "I would prefer it to open to a new record when the form is opened..."

    which I presume was the reason for having Data Entry set to Yes, simply put this in you Form's Code Module:

    Code:
    Private Sub Form_Load()
      DoCmd.GoToRecord , , acNewRec
     End Sub


    Linq ;0)>
    Last edited by Missinglinq; 06-15-2013 at 08:44 PM.

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

Similar Threads

  1. Replies: 3
    Last Post: 05-23-2012, 08:54 AM
  2. Finding Records with Form
    By b123 in forum Forms
    Replies: 10
    Last Post: 10-04-2010, 06:59 PM
  3. Finding Records that are not there!
    By TrudyD1474 in forum Queries
    Replies: 2
    Last Post: 06-18-2010, 04:41 PM
  4. finding records in a database....
    By softspoken in forum Forms
    Replies: 1
    Last Post: 04-23-2010, 11:17 PM
  5. Replies: 2
    Last Post: 01-18-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