|
-
Apr 10th, 2013, 09:43 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Pass Date Parameters from VB6 to CR XI
I've spent the last couple hours searching for information on how to do this but haven't found an answer I can understand. Some of the better replies have been "look in the help file" - there is nothing about this in the help file ... or "Don't use parameters". Sheesh. Or links to the old Business Objects website that now go to a generic SAP page. I'm frustrated with that approach so I'm going to ask here.
Anyway, I designed the report in CRXI's main report designer program and then added it to my VB6 project as a dsr and form - it's the developer edition of CRXI. On the report I created two parameter fields, "Start Date" and "End Date". They are the dates between which I want the records to be shown. This works just fine (the parameter input screen is shown when starting the report) except I do not want to have the user enter the dates because a form already asks for that information. Instead I just want to pass the dates selected from dtPickers to the parameters in the report. There has to be a pretty simple way to do this. Maybe I'm just dense, but I can't understand half of the replies I've read talking about dlls, and so many of them just stop with no resolution.
The code I have isn't going to be of much use ..
Code:
CRViewer1.ReportSource = Report
Report.DiscardSavedData
CRViewer1.ViewReport
Is there someone out there who can tell me the command and syntax to use while I still have at least a little hair left?
TIA
Ken
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
|