Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6707723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:40:25+00:00 2026-05-26T07:40:25+00:00

I have two combo boxes on a form. The first allows the user to

  • 0

I have two combo boxes on a form. The first allows the user to search a record by name, and when a record is selected, all of the other controls on the form are updated. I don’t remember how I did this, and I think it may have been through the wizard. But now I want to add a second combo box that allows users to search by address, but when an address is selected in this new combo box, the record does not update.

Here is what I have tried:

Private Sub Form_Activate()
    Me.Refresh
End Sub

And…

Private Sub Combo250_AfterUpdate()

Me.Requery

End Sub

And also a SearchForRecord Macro which searches for the First record with using this WHERE clause

="[ID] = " & Str(Nz(Screen.ActiveControl,0))

The two tables involved are Demographics and Addresses, and they are joined by the ID column.

Please help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:40:25+00:00Added an answer on May 26, 2026 at 7:40 am

    Use the wizard to add the combobox and when the option shows “Find a record on my form based on the value I select in my combobox”, choose that and continue through the wizard.

    Manual code:

    With Me.RecordsetClone
        .FindFirst "Address='" & Me.cboAddress & "'"
        If Not .NoMatch Then
            Me.Bookmark = .Bookmark
        End If
    End With
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a data entry/editing form with two combo boxes (Name and Group). Each
I have a form in VB6 with two combo boxes (cboCustomer and cboItemNumber). When
I have in a form two combo boxes that have the exact itemssource property.
I have two combo boxes, one for 'order by' and the other 'direction' (ascending,
I have two combo boxes. Let's say the first one had values A, B,
I have tried to set up combo boxes in the gridview but all the
I have two pages name one.php and two.php in one.php i have a combo
I have a form, in that I have user control(for displaying member name with
I currently have two comboboxes on a form. The first combobox contains a list
I have cascading data-bound combo boxes, however, if the second of the two boxes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.