Filter records in a form

aymanmb

Registered User.
Local time
Today, 02:12
Joined
Jan 28, 2007
Messages
96
I have a form that contain a subform. the main form displays Orders Table (client nam, purchse number, etc.. and a check box to indicate if the order is colpeted or not.

the subform contain the order details (items, Qty, etc...).

I want to add a button or a control that will allow me to see only un completed orders (unchecked) in the same form (that is why I did not make a query to filter records and show results in a second form).

is there a way to do it

thanks
 
Hello aymanmb!

Look at "DemoUnchSubformA2000.mdb",
I think it is what you need.
Ope "frmOrder" and try.
 

Attachments

thanks you. I am not sure this is what I need. have a look at the attached databse. open orders form, you will see a check box names completed. I need the filter to show only uncompleted (unchecked) orders in same orders form (without leaving it).

can it be done, if yes, please explain how and any codes needed

thanks
 
sorry but what diod you mean by next time take off a passowrd
 
I mean, you sent me a mdb protected with a password.
 
really, I did not do that, I am not sure how it ended up with a password, sorry anyway
 
Hi again,

sorry I did send you an older version of the database. I tried to do same on my latest version but failed (give syntax error). I tried to find out what but could not. I would appreciate if you can redo the 2 buttons with their code for me to study the difference.

thanks a lot
 

Attachments

Users who are viewing this thread

Back
Top Bottom