A
Andy
Hi;
Been searching for InputBox code example that would copy the data entered by
the user at the InputBox prompt and paste it in an Unbound Control on a
Report.
Where can I find an example that uses an InputBox to prompt a user for an
answer and then uses that answer in an unbound Control in a rpt.
Have this sample under a cmdButton OnClick Event.
When the User clicks the cmdButton a message box appears asking them if they
want to print or preview the rpt. (vbYesNoCancel)
On either Yes or No
IF Form chkbxName = False Then
Input Box "What is Your Name".
The answer is "Pasted?" into an Unbound Txt Control box in the rpt.
Else
Use the data from a Control on the Open Form in the Unbound Text Control
Docmd.OpenReport.
End If
The question is where can I find an example that uses an InputBox to prompt
a user for an answer and then uses that answer in an unbound Control in a
rpt.
Thank You for taking the time to read this post.
Andy
Been searching for InputBox code example that would copy the data entered by
the user at the InputBox prompt and paste it in an Unbound Control on a
Report.
Where can I find an example that uses an InputBox to prompt a user for an
answer and then uses that answer in an unbound Control in a rpt.
Have this sample under a cmdButton OnClick Event.
When the User clicks the cmdButton a message box appears asking them if they
want to print or preview the rpt. (vbYesNoCancel)
On either Yes or No
IF Form chkbxName = False Then
Input Box "What is Your Name".
The answer is "Pasted?" into an Unbound Txt Control box in the rpt.
Else
Use the data from a Control on the Open Form in the Unbound Text Control
Docmd.OpenReport.
End If
The question is where can I find an example that uses an InputBox to prompt
a user for an answer and then uses that answer in an unbound Control in a
rpt.
Thank You for taking the time to read this post.
Andy