W
wdsnews
Wow, this is a lot to ask, but an example would help me tremendously.
In Paradox for Windows I could create a Query from the assistant and then
role it into my code. So far all of my queries in Access have been built
from the GUI. Now I would like to create a form where our users could enter
data in fields or click checkboxes, then I want to use the entries on the
form to generate a query. Finally, I'd like to launch a form or report that
uses the results of that query. (I realize this example could be served
with filters, but my goal is to learn code-based queries.)
As an example, suppose there were a 'Date' text field and a 'Withdrawn'
checkbox on a form named 'build-a-query' and I wanted to query my Student
table for students who are withdrawn before that date by clicking a
'find-em' button, what would the code look like in the action of that
button?
thank you for your help and your pointers.
In Paradox for Windows I could create a Query from the assistant and then
role it into my code. So far all of my queries in Access have been built
from the GUI. Now I would like to create a form where our users could enter
data in fields or click checkboxes, then I want to use the entries on the
form to generate a query. Finally, I'd like to launch a form or report that
uses the results of that query. (I realize this example could be served
with filters, but my goal is to learn code-based queries.)
As an example, suppose there were a 'Date' text field and a 'Withdrawn'
checkbox on a form named 'build-a-query' and I wanted to query my Student
table for students who are withdrawn before that date by clicking a
'find-em' button, what would the code look like in the action of that
button?
thank you for your help and your pointers.