On Wed, 3 Jun 2009 09:06:03 -0700, mc77 wrote:
On the report I created a text box with the following in the control
source:
="You searched for:" & " " & [Enter Patient Name and *]
I tried the same for the form, but it just gives me:
#NAME?
:
Should be similar. Show us what you've tried on a form, and what is
working
on a report.
--
Ken Snell
<MS ACCESS MVP>
http://www.accessmvp.com/KDSnell/
I know how to reference a parameter value on a report, but is it
possible
to
do it on a form? I have tried setting it up the same way as for a
report,
but it does not work.
Forms work differently than reports in this regards.
Add a new column to the query.
MyParam:[Enter Patient Name and *]
Make sure the above bracketed text is exactly the same as the query
parameter prompt
Then in the form add an unbound text control:
= "You searched for: " & [MyParam]
Make sure this new field is included in the form's recordsource.