In Form, with textbox, to choose number of copies

dejanc

Registered User.
Local time
Yesterday, 23:02
Joined
Aug 4, 2009
Messages
45
Hi everyone,

I`m a little new one with access, but still I have created a nice database for our employees.
I want to do one thing. I have one button for preview printing and also one button for directly printing.
I want to add a textbox next to those buttons, that user could type number of copies for printing. So, that they could simple type number of copies and press button for printing.

I`m still learning a VisualBasic for begginers, and that commands are for now to much for me...

thanks in advance for help!!!
 
welcometoawf.png


This is probably the SIMPLEST method, not necessarily the best:

Code:
Dim intCount As Integer

For intCount = 1 to Me.YourTextBoxNameHere
   DoCmd.OpenReport "ReportNameHere", acViewNormal
Next intCount
 
I will try it, thanks Boblarson
 

Users who are viewing this thread

Back
Top Bottom