How save a filter string ?

How save a filter string ?

Postby Silvio.Falconi » Sat May 04, 2013 9:06 am

Dear Friend,

I made a small utility to create filter string and use it from a xbrowse

Image


the utility run ok only i have problem to save the filter string on a file

Now I save it on inifile as:

[Filters]
testone=Upper( CODCF ) = Upper( "alfa" )

BUt I'd like to save on a file and use a dialog to call one filter (or modify it) but I not found how create this feature

To create the filter creation utility I initiated from a Nages sample xbrowse array (I found it on samples folder )

I not Know how call the filter saved and insert it on xbrowse table
I use an array type aArray:={ " ", " ", " ", " "}

the first filed to insert the operators -> and or not
the second for the fields
the third for the operators of Relacion ( =<> !#....)
the four space for the value

I wait yours suggestions
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7068
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Marc Venken, nageswaragunupudi and 56 guests