FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Simulate a advance search
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Simulate a advance search
Posted: Fri Sep 18, 2015 10:28 AM

How we can make to simulate a advance search into a Xbrowse as google ? ?

I'm thinking something of it :

a simply dialog

using the customer.dbf

the final user put something on a get @ 10,10 Get cText...

then the final user must select with a Radio control these options

  1. Search for all terms or use query as entered sample ctexto1+ctexto2+ctexto3
  2. Search for any terms
  3. Only one term

then can select the field on wich
sample FIRST, LAST ( with chechboxes because he can select all fields )

then can add another field sample Mariied or no married

the procedure must search the research on archive customer.dbf and then must select on xbrowse only the records it found with the research founded

Any solution ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Simulate a advance search
Posted: Fri Sep 18, 2015 04:33 PM

Silvio,

In this case I think you have to use SET FILTER and copy all those records to an array, then browse the array. If the user then makes changes to the data, that array element will have to be saved back to the DBF.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion