Invoking a query using button and displaying on subform

  • Thread starter Thread starter .
  • Start date Start date
?

.

Hi, I am pretty new to access hope you guys could enlighten me.

I have this button that invoke a simple search query and a subform. How
do i actually display the result of the query inside the subform.
 
Wow. There can be a lot to that question: how to offer several boxes, but
not apply criteria on the ones the user leaves blank, how to handle
different data types correctly (numbers, dates, text), how to allow partial
matches, how to handle ranges (e.g. a month or year), ...

See:
Search criteria
at:
http://allenbrowne.com/ser-62.html
The article includes a sample database to download and see how it works.
 
"." wrote
I have this button that invoke a simple
search query and a subform. How
do i actually display the result of the
query inside the subform.

You don't run the query and then display the results in a Subform -- you
make the Query the RecordSource of the Form embedded in the Subform Control,
and requery the Subform Control.

Larry Linson
Microsoft Access MVP
 
hi, regarding the requery the sub form control how do i go abt doing it?
 

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