` Printed Icetips Article

Icetips Article



ABC: Filtering reports
1998-08-07 -- Jim Dennison
 
Newsgroups: comp.lang.clarion

> I'm converting some apps to ABC and was wondering if anyone could
> explain the new method of validating or filtering report data at
> runtime.  Need to replace the old recordstatus = record:filtered.outof
> range, etc.. , EXIT  method.
>
> I've figured out the browse with the     BRW1.SetFilter(filtertext)
> method, but I haven't been able to get the report
> ThisReport.SetFilter(filtertext)    method to work, wrong embed point
> maybe?


At the "'Report" embed, WindowManager Method Executeable Code Section,
Open, Source,
put the following:

SELF.PROCESS.SetFilter(filtertext)

Leave Priority at default.



Printed May 5, 2024, 6:09 am
This article has been viewed/printed 35114 times.
Google search has resulted in 16 hits on this article since January 25, 2004.