Friday, September 23, 2005

Tip of the Day: Getting the Total Number of Pages in a Report
Versions: R:BASE 7.5 and V-8 Turbo for Windows

Did you know that using the GETPROPERTY command, now you can get the
total number of pages in a report?

Here's how:

Use the following custom EEP as After Generate EEP for Report Footer:

-- start
SET VAR vTotPageCount TEXT = NULL
GETPROPERTY REPORT TotalPageCount 'vTotPageCount'
SET VAR vPauseMessage = ('Total Number of Pages:'&.vTotPageCount)
PAUSE 2 USING .vPauseMessage +
CAPTION 'GETPROPERTY in Reports' +
ICON INFO +
BUTTON 'Press any key to continue ...' +
OPTION BACK_COLOR WHITE +
|MESSAGE_COLOR WHITE +
|MESSAGE_FONT_COLOR GREEN
CLS
RETURN
-- end

Enjoy and make sure to have fun!

Very Best R:egards,

Razzak.
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================

Reply via email to