Using the Report Writer built in RW_GetNoteText function

This article describes using the Report Writer built in RW_GetNoteText function to add notes to a report

 

In order to do this we create calculated fields. The parameters are: 

in currency IN_NoteIndex; { Note Index of Note }
in integer IN_characters; { Number of Characters per Line }
in integer IN_line; { Line Number to Return }

So if you want 3 lines of 80 characters

Calc Field 1: RW_GetNoteText( GL_TRX_HDR_WORK.Note Index    80   1)
Calc Field 2: RW_GetNoteText( GL_TRX_HDR_WORK.Note Index    80   2)
Calc Field 3: RW_GetNoteText( GL_TRX_HDR_WORK.Note Index    80   3)


RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences