Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Filtering a browse at runtime 1998-04-18 -- Russ Eggen There is no best way to do this. Depending on design, depends on which embeds to
use. For example, I designed an app that needed to ShowAll products on file or show
just products that are on the shelves. I made a checkbox called ShowAll. On the
Control Event Handling, Accepted for this control I used this code:
!!Dynamicly change the filter for the browse
IF ShowAll !If checkbox is checked
ProductList.SetFilter('') !Remove the filter and show all records
ELSE !ELSE not checked
ProductList.SetFilter('(PRO:OnHand > 0)') !Filter the list
END !END
IF ShowAll
ThisWindow.Reset(1) !Force refresh of the display
Today is November 21, 2024, 7:06 am This article has been viewed 35318 times.
|
|