printing the content of a form
hello guys
how can i print the content of a form
for example if i have a form which shows product and prices which are displayed in a particular form in two different labels and i want to print that content to a printer , what should i do to accomplish this task.
thanks
Re: printing the content of a form
You can simply say
Form1.PrintForm
or
Printer.Print Form1.Lable1
or
Printer.Print "AAAAAAAAAAAAAAAAAAAAAAAAAAA"
or
Printer.Print format(MyVariable,"#############.00"); ' no interline
etc
note when printing variables
A ; (semicolon) after the variable will not cause an interline
Printer.EndDoc with throw a page (end you report)
This is not necessary with Form1.PrintForm