How to define a variable fed by another one

Stimulsoft Reports.NET discussion
Post Reply
fortiaBA
Posts: 17
Joined: Fri Jan 20, 2023 4:26 pm

How to define a variable fed by another one

Post by fortiaBA »

I want to print values of a single object in my database in my header.
The user would input the Id of my object (e.g. product with Id = 1)
what I want is to be able to print in the header band the product name, product category, etc... of the chosen object.

I can't use a filter and a databand as I normally would because i'm in a header.

How could I do this ?
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: How to define a variable fed by another one

Post by Lech Kulikowski »

Hello,

You can use the DataBand with filtering (id=1) instead of the Header band. Or you can place DataBand with filtering (id=1)on the Panel on the Header.

Thank you.
fortiaBA
Posts: 17
Joined: Fri Jan 20, 2023 4:26 pm

Re: How to define a variable fed by another one

Post by fortiaBA »

Thank you, it worked, I was missing the Panel.
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: How to define a variable fed by another one

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply