|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Printing information from a form
Hi everyone,
I have a form that I need to print the information that it contains. I have put a command button on the form. I need it to print when it is clicked. Does anyone have any ideas. Thanks in advance for your help.
__________________
Jay Rye :Cool: |
|
#2
|
|||
|
|||
|
Try this assuming your button is called cmdPrint:
Under the private sub cmdPrint_Click type PrintForm |
|
#3
|
|||
|
|||
|
Is there a way that I could format the data so that it ready able. Like from a datareport
|
|
#4
|
|||
|
|||
|
what do you mean by ready able?
|
|
#5
|
|||
|
|||
|
sorry on the spelling just got in a hurry.
It is suppose to be readable |
|
#6
|
|||
|
|||
|
if you have the information on a form, it should print the data out juast as it is shown on the form. Did you try thr print button to see if it worked now?? On the properties of the button, make sure the on-click event has event procedure listed - that will bring you right to the spot you need to dump that "PrintForm" into.
|
|
#7
|
|||
|
|||
|
Yes I tried it and it worked it is just that each form could have several notes attached to it. With this there is only the notes that are showing. I need to be able to see all the notes.
|
|
#8
|
|||
|
|||
|
Put the notes in a label or text box on the form as well. You can make them invisible on the form and then, before the PrintForm, make them visible and they will be printed (If they are not empty).
Good luck! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Printing information from a form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|