View Full Version : Filter By Form


jedi98
02-07-2000, 12:13 AM
I want to open a form and have it automaticly come up on the filter by form screen

is there a code of somesort to help? (OnActivate)

Jonathan Kok
02-09-2000, 12:38 PM
I think this is what you're looking for...
This will open up the "Filter By Form" screen. Put it in the OnLoad event of your form, and it will run when you first open the form.
DoCmd.RunCommand acCmdFilterByForm

BeccaJ
03-20-2001, 10:46 AM
I tried doing this to open my form in FormbyFilter mode, but I got an error message that it couldn't find the macro DoCmd. Do I need to set up a macro?