11/25/2024 2:37:57 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss reports for SalesLogix including Crystal, SQL Reports, etc. View the code of conduct for posting guidelines.
|
|
|
|
Print Detail Report Question
Posted: 25 Jan 11 8:57 AM
|
fiogf49gjkf0d I am trying to do something similar to the Print Detail Report - my new report should be launched from the Account Detail form displaying info for the current account only. I took a look at the SLX Print Detail script that is launched for the Print Detail report, but I don't see where the current accountid is passed as a parameter to the report. I was expecting to see something like ReportAddCondition in the script, but its not there. I don't see any other script triggered on the Open event for the report, and the SQL statement in the report itself does not take accountid as a parameter. Can someone explain to me how this report gets the current accountid passed to it? If I use ReportAddCondition for my new report, does my report need to have a parameter for accountid? Thanks! |
|
|
| |
|
Re: Print Detail Report Question
Posted: 31 Jan 11 3:11 AM
|
fiogf49gjkf0d As you probably also noticed, this is a function (Application.BasicFunctions.PrintDetail) - therefore, the heavy lifting is done by the function (just the report name to print is sent to the function, the function then does the rest). So, unless your report is based on the entity A/C/O/T then it won't work. Otherwise, if you pass it any other report name - it'll add the condition (where priid = currentviewid) and the report would need to be based upon ACOT. So, if this is all you need then you could use it as above. No other conditions (unless they are in the report or report execution would probably be acceptd).
If you want more finer control then look at the SLX Report Quick Launch script - whereby you can do a lot more and everything is wrapped up quite nicely. |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|