Beas: Setup Macro with print and save a Crystal Report

  • Updated

Example: print a workorder.rpt file out of the Work Order Structure WIndow 

Note: This doesn't work for "Preview", only with "Print"

How to do it?

  1. In WO window - right mouse click - choose icon printer - layout

    mceclip2.png

  2. Create new Macro

    mceclip1.png
         
  3. Uncheck parameter Simple input

    mceclip0.png

  4. Go to Tab Macro Steps - add a new step

    mceclip6.png

  5. Here we will configure
    • Creation with
    • Name
    • Report name mceclip4.png

  6. In Macro step switch to tab "Macro Output" - create new

    mceclip5.png
  7. Here we will create command and variables
    1. command - print
    2. Description - print for example

      mceclip7.png

    3. Tab variables - click on "Determine" in Right-Click-Menu"
      • when variables are created then you have to define for each variable

        mceclip8.png

        mceclip9.png
    4. Add

  8. Create 2nd Macro output step
    mceclip5.png

    1. command - save
    2. Description - print for example
    3. File name - insert your path and define manually name
      • you can use timestamp for example:
        reportname_<today,yyyymmdd>.pdf

        mceclip10.png

    4. Add

 

 

Was this article helpful?

1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.