filter list box by radio button (1 Viewer)

mohamedmatter

Registered User.
Local time
Today, 14:24
Joined
Oct 25, 2015
Messages
112
hello members
i attach simple patient DB
in search form.i set search text box in search form and i set radio button .the default radio in all
i want when i select radio blood type between A or B or AB or O filter list box by blood type to search it
i want help

thanks
 

Attachments

  • PatientDB.accdb
    992 KB · Views: 84

theDBguy

I’m here to help
Staff member
Local time
Today, 14:24
Joined
Oct 29, 2018
Messages
21,358
Hi. Have you tried either requerying the listbox or modifying its RowSource property?
 

mohamedmatter

Registered User.
Local time
Today, 14:24
Joined
Oct 25, 2015
Messages
112
Okay, please give this one a try and let us know if this is what you want.

thanks
i found problem
when i select blood type B for example it filter list box
but when search any name when i write it remove filter
i want to search in select category
thanks for help
 

theDBguy

I’m here to help
Staff member
Local time
Today, 14:24
Joined
Oct 29, 2018
Messages
21,358
thanks
i found problem
when i select blood type B for example it filter list box
but when search any name when i write it remove filter
i want to search in select category
thanks for help
Oh, I didn't realize you had a search box. I was just concentrating on figuring out your original question. Let me take a look again.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 14:24
Joined
Oct 29, 2018
Messages
21,358
thanks
i found problem
when i select blood type B for example it filter list box
but when search any name when i write it remove filter
i want to search in select category
thanks for help
Okay, see if this is what you meant. I hope I understood your requirements correctly.
 

Attachments

  • PatientDB (2).zip
    28.8 KB · Views: 90

Users who are viewing this thread

Top Bottom