Article ID: 172090 - Last Review: January 20, 2007 - Revision: 4.1 ODE97: Filter By Form Not Available in Run-Time ApplicationsThis article was previously published under Q172090 Advanced: Requires expert coding, interoperability, and multiuser skills.
On This PageSYMPTOMS
When you try to open a form in Filter-by-Form view programmatically
in a Microsoft Access 97 run-time application, you may receive the
following error message
Run-time error '2501':
The RunCommand action was canceled.
Execution of this application has stopped due to a run-time error.
The application can't continue and will be shut down.
CAUSE
The Filter-by-Form commands are unavailable in a Microsoft Access 97
run-time application.
RESOLUTION
For more information about simulating Filter-by-Form in a run-time
application, please see the following article in the Microsoft Knowledge
Base:
166634
(http://support.microsoft.com/kb/166634/EN-US/
)
ACC97: Filter-by-Form Example for Run-Time Apps Available
in Download Center
MORE INFORMATION
In Microsoft Access 7.0, Filter-by-Form works in both the full version and
the run-time version. However, the Filter-by-Form functionality wasn't
designed to be available in a Microsoft Access 7.0 run-time application.
Steps to Reproduce BehaviorCAUTION: Following these steps will modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and perform these steps on a copy of the database.
| Article Translations
|

Back to the top
