How to insert new line in navision when writing reports

matsekematseke Member Posts: 11
edited 2004-10-08 in Navision Attain
HI THERE...


I AM NEW TO NAVISION AND SO FAR SO GOOD. BUT MY PROBLEM IS THAT I DONT KNOW
HOW TO INSERT A NEW LINE.. WHAT I AM TRYING TO DO IS:

I AM CALCULATING INVENTORY(E.G. MAYBE ITS = 1000) BAL AND QUANTITY(E.G. =800)
AND IF SAY QUANTITY IS LESS THAT INVENTORY MY REPORT SHOULD
BE ABLE TO INSERT A NEW LINE WHICH HAS THE REMAINING 200. HOW DO I
INSERT THIS NEW LINE........

THANX IN ADVANCE

Comments

  • awarnawarn Member Posts: 261
    OK I will assume you have a section on the report already where you are doing the calculation.

    Make a new section of the same type, below the current section.

    In the original section, you need a line of code that says:

    bNewBooleanVariable := (Quantity < Inventory);


    In the OnPreSection of the new section:

    CurrReport.SHOWOUTPUT := bNewBooleanVariable;

    On the section put the applicable controls.

    -a
Sign In or Register to comment.