(I am used to programming in VB, so my web knowledge is very limited.)
How can I load information into and print a form(form1) from another form(form2) without the user seeing the form(form1) that is being printed?
Printable View
(I am used to programming in VB, so my web knowledge is very limited.)
How can I load information into and print a form(form1) from another form(form2) without the user seeing the form(form1) that is being printed?
huh???:confused: :confused: :confused:
Example: There is a 'Print Report' button on Form1.asp. When they press this button, the data should be loaded from the database into Form2.asp and print the form without the user seeing Form2.asp on their screen.
You have to remember you are dealing with client/server stateless programming here. The page must be generated by the asp.dll ASAPI filter, then it is sent to the browser. The user must initiate a printing of anything from his side. Otherwise you would be printing form2.asp on the server which will not likely do your user any good.
With that in mind, the page would have to exist (as in be viewed) on the client side in order to be printed from the browser. You don't have the same options available to you in printing on web applications as you do in a fat client application.