L
LightByrd
Hello!
In a social services DB, one of the reports is all incidents involving a
particular client.
There are a few thousand records.
I am using an SQL statement which filters records by the client's full name
and Birthdate.
The SQL is sent to the rowsource property of a combo box.
The combination of name and DOB provides 1 unique client. (or none if the
DOB is mis-entered or is wrong)
The report (controlled by a query with parameters provided by the DOB text
control and the combo box.)
The combo box seems to be just one more thing to click through, so I thought
of changing it to a text control and aiming the SQL at it, using the
controlsource property. I can't get it to work. I printed out the help page
on controlsource, but it was vague and not much help.
The SQL statement is a straightforward SELECT DISTINCT [ClientName] FROM
[myqry] WHERE the name and DOB (from its control) match
And of course, I want the query to then fire and the report to display.
I feel kind of stupid, so I ask for help.
Thanks
In a social services DB, one of the reports is all incidents involving a
particular client.
There are a few thousand records.
I am using an SQL statement which filters records by the client's full name
and Birthdate.
The SQL is sent to the rowsource property of a combo box.
The combination of name and DOB provides 1 unique client. (or none if the
DOB is mis-entered or is wrong)
The report (controlled by a query with parameters provided by the DOB text
control and the combo box.)
The combo box seems to be just one more thing to click through, so I thought
of changing it to a text control and aiming the SQL at it, using the
controlsource property. I can't get it to work. I printed out the help page
on controlsource, but it was vague and not much help.
The SQL statement is a straightforward SELECT DISTINCT [ClientName] FROM
[myqry] WHERE the name and DOB (from its control) match
And of course, I want the query to then fire and the report to display.
I feel kind of stupid, so I ask for help.
Thanks