|
-
Apr 10th, 2006, 10:32 AM
#1
Report and subreport from a Dataset
I've got a report with 3 subreports on it. I also have a dataset that is built in memory (1 table with unique rows, and 3 tables that could have 2 or more rows linked back to the first table).
When I try to have a link from the subreport back to the main report, I am getting "Missing parameter values". I thought that the passing of the parameter field was handled internally when the report wizard builds the report.
So how do I get the parameters needed to be passed into the subreport?
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 10th, 2006, 01:08 PM
#2
New Member
Re: Report and subreport from a Dataset
Are you within a Visual Studio interface? I'd like to compare invokation method with you. When I upgraded from CR 8.5 to 11 the only data that will appear on my subreport is the link field.
Kirk from Little Rock
-
Apr 10th, 2006, 01:51 PM
#3
Re: Report and subreport from a Dataset
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 10th, 2006, 02:46 PM
#4
New Member
Re: Report and subreport from a Dataset
Are you programming within Visual Studio. I use vb.net.
-
Apr 10th, 2006, 04:22 PM
#5
Re: Report and subreport from a Dataset
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 10th, 2006, 04:42 PM
#6
New Member
Re: Report and subreport from a Dataset
Here is the pertinent code for to preview my crystall v.11 report in vs.net:
DataSetRptDocketBase1.Clear()
SqlRptDocketBase.Fill(DataSetRptDocketBase1)
DataSetRptSubDocketDetail1.Clear()
SqlRptSubDocketDetail.Fill(DataSetRptSubDocketDetail1)
Dim myreport As New RptDocketsShort
Dim RptDocketPreview As New frmPreviewReport(myreport)
myreport.SetDataSource(DataSetRptDocketBase1)
myreport.OpenSubreport("RptSubDocketDetail.rpt").SetDataSource_(DataSetRptSubDocketDetail1)
RptDocketPreview.ShowDialog()
My subreport is linked on a key field within both the datasets and also on both the parent report and the subreport. My problem is that when I upgraded from v8.5 to v11 in CR only the link field is being populated and printed. Any ideas?
-
Apr 10th, 2006, 07:57 PM
#7
Re: Report and subreport from a Dataset
Well, your first problem seems to be that you are hijacking my thread. But send me money and I'll forgive you.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|