perstam
asked on
Access 2000: ApplyFilter action canceled
Greetings,
Well, I'm having another filter problem ...
I'm trying a docmd.applyfilter to a form based on user input to that same form. I've coded the applyfilter in the afterupdate event of a control on the form so that after then user enters the data the filter is executed. Unfortuantely, I get run time error 2501: applyfilter action canceled. I guess I'm not understanding something here, but I thought I could do this kind of thing.
Anyone have any ideas?
Thanks in advance!
Well, I'm having another filter problem ...
I'm trying a docmd.applyfilter to a form based on user input to that same form. I've coded the applyfilter in the afterupdate event of a control on the form so that after then user enters the data the filter is executed. Unfortuantely, I get run time error 2501: applyfilter action canceled. I guess I'm not understanding something here, but I thought I could do this kind of thing.
Anyone have any ideas?
Thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry, the above assumes you have 2 controls named StartDate and EndDate on the form.
ASKER
Tom,
This worked great! Thanks for your help.
I'll get back with you on the other one tomorrow ...
Sam
This worked great! Thanks for your help.
I'll get back with you on the other one tomorrow ...
Sam