how to show value of prev and next row?

Stimulsoft Reports.NET discussion
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: how to show value of prev and next row?

Post by Lech Kulikowski »

Hello,

Sorry, we did not exactly understand your question. Could you explain your issue in more detail?

Thank you.
hcelik1
Posts: 12
Joined: Fri Jan 20, 2023 7:15 am

Re: how to show value of prev and next row?

Post by hcelik1 »

Hello,
in your sample(VLookup.mrt) there are 8 foods name.

If I show {Categories.CategoryName} it genarate 8 rows
a.PNG
a.PNG (5.2 KiB) Viewed 5403 times


3 products fit on one line on the page at the same time. That's why I want to print 3 product names on one line. So instead of showing 8 products in 8 lines, I want to show them in 3 lines.For this I use vLookup
but it generate duplicate items
b.PNG
b.PNG (11.11 KiB) Viewed 5403 times

I want below
c.PNG
c.PNG (6.78 KiB) Viewed 5403 times
Attachments
VLookup.mrt
(789.87 KiB) Downloaded 326 times
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: how to show value of prev and next row?

Post by Lech Kulikowski »

Hello,

In that case, you can use Columns.

Thank you.
Attachments
Screenshot 2024-05-31 160341.png
Screenshot 2024-05-31 160341.png (41.1 KiB) Viewed 5399 times
hcelik1
Posts: 12
Joined: Fri Jan 20, 2023 7:15 am

Re: how to show value of prev and next row?

Post by hcelik1 »

can you share this report please.
hcelik1
Posts: 12
Joined: Fri Jan 20, 2023 7:15 am

Re: how to show value of prev and next row?

Post by hcelik1 »

How did you generate 3 items from the data array using columns on the same row? can you give me the report json file
hcelik1
Posts: 12
Joined: Fri Jan 20, 2023 7:15 am

Re: how to show value of prev and next row?

Post by hcelik1 »

Hi,
My report works as on the right, I want it to work as on the left. Columns property is not present in the table. Can you check my attached report? How can I show 3 category names on the same line?
stiScreen.PNG
stiScreen.PNG (45.05 KiB) Viewed 5351 times
Attachments
VLookup.mrt
(675.39 KiB) Downloaded 233 times
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: how to show value of prev and next row?

Post by Lech Kulikowski »

Hello,

You can use the DataBand component with the Column=3 property.

Thank you.
hcelik1
Posts: 12
Joined: Fri Jan 20, 2023 7:15 am

Re: how to show value of prev and next row?

Post by hcelik1 »

I need this in table,because changing table to databand is hard. Auto grow,statik text(category name) and other property will be problem in databand

is it possible to use table?
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: how to show value of prev and next row?

Post by Lech Kulikowski »

Hello,

Unfortunately, no, it is not possible for the Table.

Thank you.
Post Reply