Skip to Content

How to display Global variable

Hi

Here am trying to display TOC page no , in my content page i created the formula field to get the page no its working fine for your reference i mention below

global stringvar strTOC1;

global stringvar strTOC2;

local stringvar strTemp;

if not InRepeatedGroupHeader then

( strTemp := {DataTable1.Objectivies} + chr(10) ;

if len(strTemp) + len(strToc1) <= 254 then

( strToc1 := StrToc1 + strTemp;

strToc2 := totext(PageNumber,0)))

to display that page i've created the another new formula , for your reference

whileprintingrecords;

global stringvar strTOC2;

strToc2

above mention formula is not working it not showing error but it's not get the value from global variable ... is there i did make any mistake pls let me know ...

thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2016 at 10:34 AM

    Let us know where you have placed these formula in report structure that matters a lot.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.