Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, February 23, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: SL754.: Application.BasicFunctions "ReportAddCondtion"
Mike Douglas
Posts: 19
 
SL754.: Application.BasicFunctions "ReportAddCondtion"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 12 11:25 AM
fiogf49gjkf0d

I had issues with use of this back in 72, but it would at least work when report called from a button on the form.


I find that with SLX754 it wont operate at all.


SLX Support did come back to me and advised :


The reportaddcondition function probably still exists as a usable function in the LAN client but this class of functions have been superseded by more granular Crystal Reports RDC object model handling functions. I would probably recommend not leveraging these legacy commands as they are not used in any out-of-box functions anymore.


 


Anyone done work with passing ONE parameter to  report in this manner?


 

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: SL754.: Application.BasicFunctions "ReportAddCondtion"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 12 11:57 AM
fiogf49gjkf0d

You definitely CAN use it (I do, all the time).


    id = Application.MainViews.ActiveView.CurrentID


    Application.BasicFunctions.ReportClearConditions
    Application.BasicFunctions.ReportAddCondition "EMTB_EVENTS:EMTB_EVENTSID","=",id,"String",""


But, it's limited - the condition must apply to the primary table, no more. If you want a better way of handing it get your hands on the SLX Report Quick Launch bundle (send me an email if you need it). But, basically, you can invoke reports very quickly and easily using it.


 


 


 


 

[Reply][Quote]
Mike Douglas
Posts: 19
 
Re: SL754.: Application.BasicFunctions "ReportAddCondtion"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 12 5:35 PM
fiogf49gjkf0d

Thanks for the reply.


I suspected there was an issue with Extenstion tables, and it is an extension table I was using. I did quickly try it with a primary table  I used the standard SUPPORT TICKET report and passed a ticketid, but it failed on first attempt, so I think I gave up and went back to my real need  


I will send you an email for the SLX Report Quick Launch

[Reply][Quote]
Mike Douglas
Posts: 19
 
Re: SL754.: Application.BasicFunctions "ReportAddCondtion"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 12 5:35 PM
fiogf49gjkf0d

Many thanks

[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 © 2025 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): 2/23/2025 8:03:19 AM