Forgive me of my novicehood. I'm totally new to coding in VBA. I have an access form that takes 2 user inputs (CompanyName and NumberID) in addition to that I added 3 radio buttons for First name, Last name, or Neither. I created 3 different queries for the radio button selections (First name, Last name, and neither). My intent was to have the form take the 2 pieces of user input and then based on which option the user chooses it runs the corresponding query. I'll give an example and hopefully someone can help me on this.
Example:
Company Name: Fly Wheels
Number ID: 56
Selected radio button: Last Name
Based on that info now run query "Last name" that will display all the results with just a last name in the records that work for Fly Wheels with Number ID 56.
Hopefully, that makes sense as to what I'm attempting.
Example:
Company Name: Fly Wheels
Number ID: 56
Selected radio button: Last Name
Based on that info now run query "Last name" that will display all the results with just a last name in the records that work for Fly Wheels with Number ID 56.
Hopefully, that makes sense as to what I'm attempting.