I am trying to select record in continuous form with combo box and populating other records with combo box. Its not working I had attached example files. Thanks in advance. Please look at explain.jpg file it will tell you what i am trying to achieve.
Roger GillManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

John TsioumprisSoftware & Systems EngineerCommented:
Take a look at my attachment

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hamed NasrRetired IT ProfessionalCommented:
This happens because your form fields are unbound.
Make your form fields bound to table fields.
In design mode:
Select Text1 unbound field, and type in = respective field name from table.
Or set it in Property sheet.
Dale FyeOwner, Developing Solutions LLCCommented:
if you mean you have a combo box in the form header or footer, as a way to search for a record, then you do NOT want to bind that control to anything.

Instead, use the AfterUpdate event of the control to search for the record and select it, something like:
Private Sub cboSearchName_AfterUpdate

    Dim strCriteria as string
    if me.cboSearchName & "" = "" then Exit Sub

    with me.recordsetclone
        strCriteria = "[LastName] =  '" & me.cboSearchName & "'"
        'strCriteria = "[ID] = " & me.cboSearchName     'use this if the bound column of the combo box is an ID value
        .findfirst strCriteria
        if .nomatch then 
             msgbox "unable to find record 
            me.bookmark = .bookmark
        End IF
    End With

End Sub

Open in new window

10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Roger GillManagerAuthor Commented:
Thanks :John Tsioumpris andThanks  , work like charm !
Roger GillManagerAuthor Commented:
Thanks alot for your time and effort !!
John TsioumprisSoftware & Systems EngineerCommented:
glad for helping you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.