VS2005. I've spent two days trying to figure out how to do a simple
master/detail report using ReportViewer and am just about ready to
punt. This is something that really should have been
drag/drop/relationship but no.
I've finally figured out that I need to use a subreport but I can't
figure out how to set the datasource of the localreport object since
it only seems to want a datatable and I have a function that is
returning a list (of myobjects).
If anyone has any idea how to set up the relationship (I'm trying to
use a parameter and/or a filter) or how to set the datasource for the
subtable, please let me know.
I guess I can try dumping all the detail records into a datatable at
run time and using that. I doubt it will work. I'm ready to go back to
VB3. 4 4459
dgk wrote: VS2005. I've spent two days trying to figure out how to do a simple master/detail report using ReportViewer and am just about ready to punt. This is something that really should have been drag/drop/relationship but no.
I've finally figured out that I need to use a subreport but I can't figure out how to set the datasource of the localreport object since it only seems to want a datatable and I have a function that is returning a list (of myobjects).
If anyone has any idea how to set up the relationship (I'm trying to use a parameter and/or a filter) or how to set the datasource for the subtable, please let me know.
I guess I can try dumping all the detail records into a datatable at run time and using that. I doubt it will work. I'm ready to go back to VB3.
I haven't been able to figure out how to bind a datatable to a
reportviewer. I had to go back to crystal reports to do it. Instead of
going back to VB3 you might try using the crystal report viewer, there
is much more documentation about that control around.
Chris
On Tue, 06 Dec 2005 16:11:37 -0500, Chris <no@spam.com> wrote: dgk wrote: VS2005. I've spent two days trying to figure out how to do a simple master/detail report using ReportViewer and am just about ready to punt. This is something that really should have been drag/drop/relationship but no.
I've finally figured out that I need to use a subreport but I can't figure out how to set the datasource of the localreport object since it only seems to want a datatable and I have a function that is returning a list (of myobjects).
If anyone has any idea how to set up the relationship (I'm trying to use a parameter and/or a filter) or how to set the datasource for the subtable, please let me know.
I guess I can try dumping all the detail records into a datatable at run time and using that. I doubt it will work. I'm ready to go back to VB3.
I haven't been able to figure out how to bind a datatable to a reportviewer. I had to go back to crystal reports to do it. Instead of going back to VB3 you might try using the crystal report viewer, there is much more documentation about that control around.
Chris
I'm really ready to hardcode the whole thing in PrintDocument but
perhaps crystal.
DGK, http://www.vb-tips.com/default.aspx?...1-e779bfb411c5
There is as well a extended sample on our website.
I hope this helps,
Cor
"dgk" <dg*@somewhere.com> schreef in bericht
news:e9********************************@4ax.com... On Tue, 06 Dec 2005 16:11:37 -0500, Chris <no@spam.com> wrote:
dgk wrote: VS2005. I've spent two days trying to figure out how to do a simple master/detail report using ReportViewer and am just about ready to punt. This is something that really should have been drag/drop/relationship but no.
I've finally figured out that I need to use a subreport but I can't figure out how to set the datasource of the localreport object since it only seems to want a datatable and I have a function that is returning a list (of myobjects).
If anyone has any idea how to set up the relationship (I'm trying to use a parameter and/or a filter) or how to set the datasource for the subtable, please let me know.
I guess I can try dumping all the detail records into a datatable at run time and using that. I doubt it will work. I'm ready to go back to VB3.
I haven't been able to figure out how to bind a datatable to a reportviewer. I had to go back to crystal reports to do it. Instead of going back to VB3 you might try using the crystal report viewer, there is much more documentation about that control around.
Chris
I'm really ready to hardcode the whole thing in PrintDocument but perhaps crystal.
On Wed, 7 Dec 2005 07:20:00 +0100, "Cor Ligthert [MVP]"
<no************@planet.nl> wrote: DGK,
http://www.vb-tips.com/default.aspx?...1-e779bfb411c5
There is as well a extended sample on our website.
I hope this helps,
Cor
"dgk" <dg*@somewhere.com> schreef in bericht news:e9********************************@4ax.com.. . On Tue, 06 Dec 2005 16:11:37 -0500, Chris <no@spam.com> wrote:
dgk wrote: VS2005. I've spent two days trying to figure out how to do a simple master/detail report using ReportViewer and am just about ready to punt. This is something that really should have been drag/drop/relationship but no.
I've finally figured out that I need to use a subreport but I can't figure out how to set the datasource of the localreport object since it only seems to want a datatable and I have a function that is returning a list (of myobjects).
If anyone has any idea how to set up the relationship (I'm trying to use a parameter and/or a filter) or how to set the datasource for the subtable, please let me know.
I guess I can try dumping all the detail records into a datatable at run time and using that. I doubt it will work. I'm ready to go back to VB3.
I haven't been able to figure out how to bind a datatable to a reportviewer. I had to go back to crystal reports to do it. Instead of going back to VB3 you might try using the crystal report viewer, there is much more documentation about that control around.
Chris
I'm really ready to hardcode the whole thing in PrintDocument but perhaps crystal.
Thanks, it looks overwhelming. But I can probably find lots of folks
who know Crystal. Of course, it needs to be done yesterday. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dgk |
last post by:
I'm trying to learn the ReportViewer using non-database data so I've
run through the simple demo showing how to use the reportviewer with
business objects:...
|
by: Houston Lucifer |
last post by:
Hi all, I have a report viewer on my webpage and it is linked to an
objectdatasource.
The parameter is a control on the form (Dropdownlist). But, when i change the
selection in the dropdownlist...
|
by: Sevu |
last post by:
I am working with ASP.NET.I am using ReportViwer Control to show my
report.I like to add dropdownlist with in the reportviewer control. (
Not top to the control some thing like that).I need to...
|
by: =?Utf-8?B?SGVyYg==?= |
last post by:
Using the WebForms.ReportViewer when I export to PDF, the margins of the
report are too large. How can I change the margins of my report to make
better use of the printed page space?
|
by: Andrew Teece |
last post by:
Hope someone can help.
We are trying to deploy an ASP.Net 2.0 application to a 3-node webfarm.
The application uses the ReportViewer control in local mode, hence we
need session state.
Because we...
| |
by: Steve |
last post by:
Hi All
I want to create a Column chart showing total number of appointment hours
per staff member
Along side each bar I want to show another series of total number of
working hours per staff...
|
by: Wylie |
last post by:
I'm a VB6.0 programmer who is new to .Net. I'm having to write a
program in .Net that will call various .rdls in a windows
application. I've done the reports in the Business Intelligence
Studio...
|
by: AG |
last post by:
I am trying to use a ReportViewer control in a VS 2005 web application
project (not Website project).
When I try to create a new report (local), I can't seem to find any method
to create a...
|
by: =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== |
last post by:
I have a VS 2008 ASP.NET webform that has a reportview tag on it, accessing
an .RLDC report in local report.
The columns for the report are essentially:
Month Item #1 Item#2 Item#3
...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |