Sub-Form query error

  • Thread starter Thread starter Ray Mooney
  • Start date Start date
R

Ray Mooney

I have developed a query that will run okay standalone, but when I run the
query from within a sub-form the results are bogus. It appears there is some
sort of linkage issue when running the query from within the sub-form. I
used the wizard to create the sub-form with the query.

I'm new to access. Can someone help me with this?

Thanks!!
 
Do you use references to Controls on the Form being used as the Subform as
Parameters in your Query?

If you do, you need to refer to these Controls using the full syntax like:

Forms!frmMain!SubformCONTROL.Form!ControlOnSubform
 
I have developed a query that will run okay standalone, but when I run the
query from within a sub-form the results are bogus. It appears there is some
sort of linkage issue when running the query from within the sub-form. I
used the wizard to create the sub-form with the query.

I'm new to access. Can someone help me with this?

Thanks!!

Sure, but you'll need to help us too.

What do you mean by "use the query within a sub-form"?
What do you mean by "bogus"?
What's the Query? Could you post the SQL?

John W. Vinson[MVP]
 

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