I have a label sticker report based on a select query and I would like to add
text to the sticker. The add text would change constantly so I would like to
enter that on a form through a text box. Is there any hope? Thanks for your
help
I have a label sticker report based on a select query and I would like to add
text to the sticker. The add text would change constantly so I would like to
enter that on a form through a text box. Is there any hope? Thanks for your
help
It's still not clear (at least to me) exactly what you are attempting
to do with the value in the form's text box, but:
You could refer to the form control from the report, i.e.
If you are on version 2003, you can use the OpenArgs argument of the
OpenReport method to pass the value of the text box to the report; otherwise,
you will have to do it from the Open event of the report.
If using the OpenArgs, you still use the Open event of the report.
If Not IsNull(Me.OpenArgs) Then
Me.lblMessage = Me.OpenArgs
End If
If you do it from the report
Me.lblMessage = Forms!MyFormName!MyTextBoxName
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.