Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variable Data in a page header

Status
Not open for further replies.

tfstom

Programmer
Sep 28, 2002
190
US
I can't seem to get values from my dataset in my page header where they change as my values change. Part of the issues is that I have multiple datasets and therefore cannot directly access the dataset form the header.

I have a dealer and a region in my dataset.

I have tried to add a variable to the body of my report outside of my table and then access it from the header. This seems to work on the first page, but when the page changes, the variable disappears. So where the header refers to it also disappear (blank).

How can I get this to work?

Thanks,

Tom
 
Have you tried something like this:
Read-write use Set a value once and serialize the value within a report session. The read-write option for variables provides a better alternative than using a static variable in the Code block in the report definition.
When you clear the Read-Only option for a variable, the Writable property for the variable is set to true. To update the value from an expression, use the SetValue method, for example, =Variables!MyVariable.SetValue("123").
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top