Sub query using parameters with OleDb Data adapter problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to display the results in a form from a complex query that uses parameters. Both the outside and the inside query use parameters. I can get the outside query to run but when I use a subquery with parameters for a condition in the main query I keep getting DB_E_BADORDINAL error

Any help or suggestions are greatly appreciated

Jea
 
You haven't posted any schema, code or query syntax, so it's
impossible to make specific recommendations. However, if you write
your query as a parameterized stored procedure you can simplify the
debugging process considerably.

--Mary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top