Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27186

VS 2012 data in textbox from db in report?

$
0
0
Hi again guys.

I've been trying to make a report, to show in a reportviewer, that can show the data from my db.

I've added a matrix with the data from the rows that are seposed to be shown on the pages. Furthermore I have some textboxes showing som other data and here my problems begin.

I've only marked three of them here on the screenshot but more of them ain't working.

Name:  report.jpg
Views: 90
Size:  328.6 KB

The open expression box is from the one marked as number 3. I don't know how I get this to work. The idea is that all these boxes in the top of each page has to refere to the data from the first row in the group how is this possible.
As you can see in the expressions box the table contains all the cells/data for alle the fields. Box 3 has to show "DTG_for_start_af_togt" - "DTG_for_slut_pa_togt". Box 2 has to show "Togtet_er_udfort_for". Box 1 has to show "Dato".
Furthermore the two boxes above 1 & 2 has to show "Skibsnavn" and "Basehavn".

I just can't figure this out and I've searched the internet for a solution but non of it makes any sense.

Hope you can help me to find a solution.

Thanks in advance.
Attached Images
 

Viewing all articles
Browse latest Browse all 27186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>