Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error With Requery of ADO

Status
Not open for further replies.

dpatrickcollins

Programmer
Nov 18, 2002
79
I am attempting to execute a requery method of an ado recordset created using the Dataenvironment. Recordset queries an Access database. When I attempt to do so, I get the following error:

3219: Operation is not allowed in this context

Anyone know why?
 
You need to post your code as it will likely be something that occurs prior to this statement.
 
Thanks snowcrash. My Code is:

rs.Requery

Since the time of posting, I have concluded that a parameterized recordset cannot be requeried. Is this true? For example:

dataenvironment.QueryName
set rs = dataenvironment.rsQueryName <parametervalue>
rs.requery
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top