Data filter (1 Viewer)

shamal

Registered User.
Local time
Today, 03:06
Joined
Sep 28, 2013
Messages
77
Welcome..
Example of a school database
How to filter the data through the form using a check box, check box, or drop-down list to filter the data by Class and by Div
Thanks to all.
 

Attachments

  • example2.accdb
    576 KB · Views: 61

CJ_London

Super Moderator
Staff member
Local time
Today, 11:06
Joined
Feb 19, 2013
Messages
16,619
See this example
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 18:06
Joined
May 7, 2009
Messages
19,247
Open Main Form
and see the code on "Apply Filter" and "Clear Filter" of the Main Form.
 

Attachments

  • example2.accdb
    800 KB · Views: 78

shamal

Registered User.
Local time
Today, 03:06
Joined
Sep 28, 2013
Messages
77
Open Main Form
and see the code on "Apply Filter" and "Clear Filter" of the Main Form.
Welcome
How can I add a text box to search for names in the Main Form?
 

KitaYama

Well-known member
Local time
Today, 19:06
Joined
Jan 6, 2022
Messages
1,541
How can I add a text box to search for names in the Main Form?

I was free and just was playing around with your file.
There are a lot of better (and safer) ways to do what you want, but just for the fun I did it this way.

I strongly suggest you to use @MajP 's method to create the filter in this post.
 

Attachments

  • example2.accdb
    640 KB · Views: 56
Last edited:

shamal

Registered User.
Local time
Today, 03:06
Joined
Sep 28, 2013
Messages
77
I was free and just was playing around with your file.
There are a lot of better (and safer) ways to do what you want, but just for the fun I did it this way.

I strongly suggest you to use @MajP 's method to create the filter in this post.
Can the search be part of the student's name and not the full name?
 

mike60smart

Registered User.
Local time
Today, 11:06
Joined
Aug 6, 2017
Messages
1,913
Can the search be part of the student's name and not the full name?
I would suggest that you think about Normalising your 1 Table.

A Student will sit a number of Exams.

If you wanted to add another Exam then this means you would need to modify the table which
is a no no in Access.
 

Users who are viewing this thread

Top Bottom