Thanks Mike, I had not seen the HelpFile "Index" but I had already intuitively tried #page. However I have not been able to get it to work...before or after I consulted the Help File. When I enter the following into the Page Footer band I get error message of "Expression cannot be evaluated. (2179).
SET VAR vGetPage INTEGER (defined in Before Generate for Report) SET VAR vGetPage = .#page Or SET VAR vGetPage = (.#page) Same thing in trying to use the Expression Definitions...the value of #page cannot be obtained. Perhaps this is a bug that has been fixed since my version of 7.6. Additionally, I have tried doing my own page count by initializing a variable to 0 and having the variable increment by 1 on the Page Footer, Before Generate area. In that case, if the report is more that one page the variable reverts back a number after passing the report footer area. I placed the variables on the report and did a trace to see what was happening. It is not behaving as expected. For some reason, on this report, after the last page (and therefore passing the report footer) the page number is set back one number. I am still trying different scenarios to see if I can land on a work-around. Sharon -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mike Byerley Sent: Wednesday, June 27, 2012 10:46 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: System Variable Name for Page Number RBASE Help #page Use the HelpFile "Index" to find it. ----- Original Message ----- From: "Sharon Lima" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Wednesday, June 27, 2012 9:50 PM Subject: [RBASE-L] - System Variable Name for Page Number : Hi All, : : : : I am back working on a R:Base 7.6 Application. : : I have the need to use the Page Number of a report in an IF-THEN statement. : : : Is there a variable name for Page Number like #DATE for the current date? : : I know Page Number can be assigned so it must have a variable name behind : the scenes. : : : : Thanks for help here. : : : : Sharon Lima : : : : : : : : : : __________ Information from ESET NOD32 Antivirus, version of virus signature : database 7252 (20120627) __________ : : The message was checked by ESET NOD32 Antivirus. : : http://www.eset.com : : __________ Information from ESET NOD32 Antivirus, version of virus signature database 7254 (20120628) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 7255 (20120628) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com --- 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. ================================================

