marzzz21 0 Newbie Poster

hello i need some help with something

i have done making the Add Update Edit Refresh
and here are my codes:

DataEnvironment1.rsSubject.AddNew
DataEnvironment1.rsSubject.Update
DataEnvironment1.rsSubject.Edit
DataEnvironment1.rsSubject.Requery

But my problem is i have this form which has a data grid on it to display the records and i want to put a combo box to filter the records that will be shown . . . but i don't know how to do it. . .

i want to select from a combo box that will filter the records

the table is about subjects, so i want to put 3 combo boxes:
1st combo box:(Select Course)
2nd combo box:(Select Year)
3rd combo box:(Semester)

i have these 3 fields in my table i don't know the codes for filtering or finding/searching records. . . can someone help me please?

thankz in advance . . .

and also if someone can give me a sample program . . . then it will be very helpful . . . thanks in advance . . .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.