Run a query in a form from the switchboard?

  • Thread starter Thread starter Chris Burnette
  • Start date Start date
C

Chris Burnette

Does anyone know how to open a query from the switchboard and have the
results displayed on a form? I figured out how to have a button on the
switchboard open a query, but it always opens it in datasheet view, which I
don't want the users to have access to lest they copy the data.

Does anyone know how to do this?

Any responses would be appreciated.

Thanks,

Chris
 
Does anyone know how to open a query from the switchboard and have the
results displayed on a form? I figured out how to have a button on the
switchboard open a query, but it always opens it in datasheet view, which I
don't want the users to have access to lest they copy the data.

Does anyone know how to do this?

Any responses would be appreciated.

Thanks,

Chris

Simply create a form which uses the query as it's record source.
Have the switchboard open the form.
 
Thanks Fred, I tried that and it works. The only issue I'm having now is
that when I open the form with the query as the data source, I get #Name?
entries in all of the fields that I have not included in my query.

I think the application is doing this because it cannot find a data source
for these fields, however the whole point of using a query is that I do not
want the users to be able to view those fields.

Does anyone know how to run a form with a query as a data source without
getting the #Name? entries for non-selected fields?

Thanks,

Chris
 

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