Alpha Video Training
Results 1 to 4 of 4

Thread: Report in .a5w Page

  1. #1
    Member
    Real Name
    Parvez
    Join Date
    Dec 2005
    Posts
    36

    Default Report in .a5w Page

    Hi ,
    is there a way to insert a report on an .a5w page so that it can be called from the web.
    Thanks

  2. #2
    Volunteer Moderator Steve Workings's Avatar
    Real Name
    Steve Workings
    Join Date
    Apr 2000
    Location
    The Dreaded Chair
    Posts
    5,601

    Default

    I would suggest you post questions about the Web App Server in the correct section of this board.

    For an answer to your question, have you looked at the documentation? Also, have you used the Search feature of this board? You'll find plenty of info this way.
    -Steve


  3. #3
    Alpha Software Employee Lenny Forziati's Avatar
    Real Name
    Lenny Forziati
    Join Date
    Nov 2001
    Location
    Alpha Software
    Posts
    4,682

    Default

    This thread has been moved to the Web App Server area.

  4. #4
    VAR Howard G. Cornett's Avatar
    Real Name
    Howard Cornett
    Join Date
    Feb 2003
    Location
    Lexington, MA
    Posts
    666

    Default Report on A5W page

    Parvez,

    Simply use the Report.SaveAs function (you can look up its use in the help file).

    Code:
    :Report.SaveAs("Balance@[PathAlias.Data_Path]\pat_acct.set","PDF","","","[PathAlias.Webroot]\Balance.pdf")
    Response.redirect("Balance.pdf?" + time("hms03"))
    Make sure that you save the PDF to the same directory in the A5Webroot that your A5W page is in. Then simply redirect the browser to the PDF file. The time("hms03") part makes sure that you get the most recent copy saved to the server.

    Howard
    Howard G. Cornett, Independent Consultant

Similar Threads

  1. Publishing an A5W Page
    By davej in forum Alpha Five Version 6
    Replies: 6
    Last Post: 09-20-2005, 07:00 AM
  2. .a5w page displays text
    By Bill@TrackerSystems.com in forum Web Application Server v6
    Replies: 1
    Last Post: 09-20-2005, 06:52 AM
  3. Linking to a A5W page in Dreamweaver
    By Marjorie Taber in forum Web Application Server v6
    Replies: 1
    Last Post: 06-23-2005, 06:36 AM
  4. Is there a var that holds the A5W page name?
    By Steve Wood in forum Web Application Server v6
    Replies: 3
    Last Post: 04-15-2005, 09:45 PM
  5. Error Saving A5W Page
    By Phil Rolf in forum Web Application Server v6
    Replies: 1
    Last Post: 04-14-2005, 11:15 AM

Bookmarks

Posting Permissions

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