Function: Line


Returns the report line number from which the record was generated. The line number is given relative to the top of the report page from which the record was generated.





Return value

This function returns a number.

Calculated field example

The following expression returns the report page and line for each record, as a string: "Page: "+LTrim(Str(Page(),7,0))+" Line: "+LTrim(Str(Line(),3,0))

The output of this expression is in the form: Page: 125 Line: 17

Filter/Find example

This function might be used along with the Rand function to perform auditing of report data, but otherwise has no practical value in a filter expression.


© 2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support