I am using a stored procedure to produce a filter page. This works fine but when I try to display the records built on the filter I get the error:

Error # (Filter_Create) = 80040E0C(-2147217908)
Description = Command text was not set for the command object.
Source = Microsoft OLE DB Provider for SQL Server

The source is:

mydb.dbStoredProc="(;,)s_StudentHistory,4,&#39 ;" & criteria & "'"

Is it possible to use a stored procedure with a filter page?

Bob Cummings