FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse Incremental Search
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

xBrowse Incremental Search

Posted: Tue Jun 09, 2009 01:37 AM

Using the old tSBrowse, I could use the following code to set the order for the browse. Then with the browse displayed, I could simply start typing to get the database to reposition ... no field was necessary.

This is the last step I need to accomplish to convert to xBrowse. My question is how can I do an incremental search for a displayed browse in xBrowse without having to provide an actual input box ?

Here is all I have to do in tsBrowse:

     oBrw:nColOrder := 0
     oBrw:aColumns[1]:cOrder := "einnum"  // Part number
     oBrw:SetOrder(1)

If I was working on the values in column 2, I would just set that value.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: xBrowse Incremental Search

Posted: Tue Jun 09, 2009 06:21 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion