disgruntled
Registered User.
- Local time
- Today, 22:19
- Joined
- Jul 3, 2001
- Messages
- 38
I have a form in which the user enters a bunch of criteria which is passed along to a query and that to a report. In the header of the report i have various textboxes stating the criteria values. I did this by setting the control sources.
eg. =[Forms]![frmReport_Char]![cbox_status]
but all i get are $NAME? in the fields???
Also, I click a button on the form which does all this using these 2 commands: Domd.OpenQuery ("qryReport_chars")
DoCmd.OpenReport "rptChar", A_PREVIEW
The query window opens but i do not want the user seeing this. Is there a better way to do this?????
Thanks a million for any advice.
eg. =[Forms]![frmReport_Char]![cbox_status]
but all i get are $NAME? in the fields???
Also, I click a button on the form which does all this using these 2 commands: Domd.OpenQuery ("qryReport_chars")
DoCmd.OpenReport "rptChar", A_PREVIEW
The query window opens but i do not want the user seeing this. Is there a better way to do this?????
Thanks a million for any advice.