Alpha Video Training
Results 1 to 2 of 2

Thread: Print Report

  1. #1
    Member
    Real Name
    Cesar Diaz
    Join Date
    Oct 2000
    Posts
    44

    Default Print Report

    Hello ALL,

    I need to print a report only the record entered as yes (exc="yes"), how can I add this to the button see attached,
    thanks very much for your help
    brgds,
    Cesar



    ''XBasic
    dim fdate as d
    dim edate as d
    dim lastbutton as c
    dim checkbk as p
    form.view("Date Dialog","dialog")
    lastbutton=:Date_Dialog.last_pressed()
    if lastbutton="OK_button" then
    fdate=:Date_Dialog:Starting_Date.value
    edate=:Date_Dialog:Ending_Date.value
    end if
    Date_Dialog.close()
    if lastbutton="Cancel_button" then
    end
    end if
    ' else continue
    :Report.Preview("Sumary Report","between(date,fdate,edate)")

  2. #2
    "Certified" Alphaholic
    Real Name
    Ohlen Cartmell
    Join Date
    Apr 2000
    Posts
    1,599

    Default RE: Print Report

    Try

    :Report.Preview("Sumary Report","between(date,fdate,edate).and.exec='yes'")

Similar Threads

  1. Print A4 report to PDF
    By Bill S in forum Alpha Four Version 6 and Prior
    Replies: 4
    Last Post: 03-09-2004, 06:37 AM
  2. Print Report
    By expollantas in forum Alpha Five Version 4
    Replies: 3
    Last Post: 09-11-2003, 09:01 AM
  3. One Report Will Not Print
    By Rodney Efird in forum Alpha Five Version 4
    Replies: 3
    Last Post: 03-02-2001, 10:33 AM
  4. Print Report
    By expollantas in forum Alpha Five Version 4
    Replies: 2
    Last Post: 10-09-2000, 05:40 AM
  5. Print a report to a file
    By Edward Crowley in forum Alpha Five Version 4
    Replies: 2
    Last Post: 07-21-2000, 06:04 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
  •