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.
|