Results 1 to 4 of 4

Thread: A way around opening a form

  1. #1

    Thread Starter
    Addicted Member smh's Avatar
    Join Date
    Oct 2000
    Location
    South Dakota, USA
    Posts
    249

    A way around opening a form

    (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?
    Normal is boring...

    smh

  2. #2
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141
    huh???
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

  3. #3

    Thread Starter
    Addicted Member smh's Avatar
    Join Date
    Oct 2000
    Location
    South Dakota, USA
    Posts
    249
    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.
    Normal is boring...

    smh

  4. #4
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width