Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, May 17, 2024 
 
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!
 Reporting & Notification Forums - Reporting
Forum to discuss reports for SalesLogix including Crystal, SQL Reports, etc. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Reporting | New ThreadView:  Search:  
 Author  Thread: Print Detail Report Question
Bailey1
Posts: 57
 
Print Detail Report QuestionYour last visit to this thread was on 1/1/1970 12:00:00 AM
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! 

[Reply][Quote]
Bailey1
Posts: 57
 
Re: Print Detail Report QuestionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Jan 11 9:35 AM
fiogf49gjkf0d

Lots of views, but no replies???  I guess I stumped the experts....

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Print Detail Report QuestionYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.

[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/17/2024 7:14:06 AM