` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please 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!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 May 6, 2024, 7:19 am
This article has been viewed 35108 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: