Re: Forward and Reverse filtering a List field

2010-06-21 Thread Bob Sneidar
Use 2 variables, one to hold the original data, and one to filter and then display. Each time the filter needs to be updated, put theTableData1 into theTableData2, then filter theTableData2 and set the dgText of group myDataGrid to theTableData2. Bob On Jun 18, 2010, at 1:42 PM, Mark Stuart

Forward and Reverse filtering a List field

2010-06-18 Thread Mark Stuart
Hi All, Platform: WinXP revStudio: 4.0 I'm building an app that populates SQL Server data into a list field that is defined as a table. The table data delimiter is the tab char. All this works fine. I'd like to build a filter system for the table data. The list would be filtered by typing a

Re: Forward and Reverse filtering a List field

2010-06-18 Thread Mike Bonner
All you really need to do for this is to keep the full dataset in storage somewhere. Since the field will be mutable, keep a variable or property with the complete data, copy IT into your temp variable and filter away. If your dataset isn't too too large this should work fine. IE Do your sql

Re: Forward and Reverse filtering a List field

2010-06-18 Thread Mark Stuart
-revolution.278305.n4.nabble.com/Forward-and-Reverse-filtering-a-List-field-tp2260720p2260846.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url

Re: Forward and Reverse filtering a List field

2010-06-18 Thread Mark Stuart
I just noticed a mistake in my reply. The field script rawKeyDown is actually in the Filter field, not the List field. -Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Forward-and-Reverse-filtering-a-List-field-tp2260720p2260848.html Sent from

Re: Forward and Reverse filtering a List field

2010-06-18 Thread Mike Bonner
with that? Is my script anywhere near to work correctly and efficiently? Regards, Mark Stuart -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Forward-and-Reverse-filtering-a-List-field-tp2260720p2260846.html Sent from the Revolution - User mailing list archive

Re: Forward and Reverse filtering a List field

2010-06-18 Thread Mark Stuart
again. Regards, Mark Stuart -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Forward-and-Reverse-filtering-a-List-field-tp2260720p2260870.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use