Records count in a Raport

nardionlinenardionline Member Posts: 34
edited 2008-12-12 in Navision Attain
Hello . I am very new in Navission!
I would like to know how to count records in a Raport!
I think i need to know that explaining it step by step!
Thanks in advance
Best Regards!
Mato_Gruda

Comments

  • garakgarak Member Posts: 3,263
    Waht do you really want?
    There is a function like:
    YourRecordVariable.count(); <- gives back an integer
    count get back a Number (integer) of founded Records based on a filter
    Do you make it right, it works too!
  • nardionlinenardionline Member Posts: 34
    Well i need to count how many records are in a table report. I mean all the lines.
    But i need to know how to use it.
    Best Regards
    Mato_Gruda!
  • SavatageSavatage Member Posts: 7,142
    just have some fun with it.

    Add a textbox to you report with sourceexp = COUNT

    then let happiness shine upon you 8)

    there are other ways to
    like adding onaftergetrecord
    RecordCount := RecordCount +1;
    Then make RecordCount your sourceexp in a text box in you report.

    Count already there for you. It depends on what you would like to do - GEt a full count or perhaps you want to count
    the number of sales lines per header? or comment lines?

    goto help->c/side reference guide->COUNT for additional info.
Sign In or Register to comment.