Search found 186 matches: cseek

Return to advanced search

Re: incremental search on Xbrowse

...   if nKey == 32 .and. ::nMarqueeStyle <= MARQSTYLE_HIGHLROWRC .and. ;                     oCol:hChecked .and. oCol:lEditable .and. Empty( ::cSeek )            oCol:CheckToggle()         elseif nKey == 32 .and. !::lFastEdit .and. ::oMultiSelCol != nil .and. Empty( ::cSeek ...
by Silvio.Falconi
Wed Mar 27, 2024 9:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: incremental search on Xbrowse
Replies: 10
Views: 1978

Re: oRs:Find() ado en dos campos, sobre xbrowse, como?

... las busquedas por 2 o mas campos asi: cQuery := "SELECT * from "+cTabla+" WHERE CONCAT (descripcion, codigo_fabrica)  LIKE '%"+cSeek+"%'  ORDER BY descripcion;" la variable cSeek es un input donde el usuario ingresa bien sea la descipcion o el codigo a buscar. creo ...
by JoseAlvarez
Fri Jan 19, 2024 2:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: oRs:Find() ado en dos campos, sobre xbrowse, como?
Replies: 7
Views: 422

Re: Does TDatabase supports SEEK LAST?

Saved me a few keystrokes :)
I normally would type as (oDbf:cAlias)->(dbSeek(cSeek, nil, .t.))


If you use database objects then you can just do:

oCustomer:goBottom()
by James Bott
Fri Nov 10, 2023 1:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 377

Re: Does TDatabase supports SEEK LAST?

Thanks Rao,
Saved me a few keystrokes :)
I normally would type as (oDbf:cAlias)->(dbSeek(cSeek, nil, .t.))
by hua
Tue Nov 07, 2023 6:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 377

CONTROLAR CLICK SOBRE COLUMNA EN XBROWSE

... MENU_PRODUCTO(cEmpresa,cUsuario) Local oDlg, oBrw, oFont2, oCol, oSay, oBtn2[ 9 ] LOCAL oGet,nIndex,aIdx:={} LOCAL cBusca:= Space(60) Local cSeek:="" Local oCampo, cCampo :=space(50) cTab_Art:=xServer:Query("SELECT a.*, b.*, c.* FROM tab_art AS a LEFT JOIN tab_fam AS b ON ...
by kpidata
Fri Sep 01, 2023 7:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONTROLAR CLICK SOBRE COLUMNA EN XBROWSE
Replies: 1
Views: 330

evitar que se active columna con xbrowse al dar un click

... MENU_PRODUCTO(cEmpresa,cUsuario) Local oDlg, oBrw, oFont2, oCol, oSay, oBtn2[ 9 ] LOCAL oGet,nIndex,aIdx:={} LOCAL cBusca:= Space(60) Local cSeek:="" Local oCampo, cCampo :=space(50) cTab_Art:=xServer:Query("SELECT a.*, b.*, c.* FROM tab_art AS a LEFT JOIN tab_fam AS b ON ...
by kpidata
Fri Sep 01, 2023 7:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inhabilitar columna en xBrowse - Disable column in xBrowse
Replies: 8
Views: 1075

Re: xBrowse + Tree sample does not work.

... or db) to do the grouping, maybe selecting it from a combobox "normal", "tree" and also make the search work with GET oGet VAR cSeek and COMBOBOX oBrw:oSortCbx example in customer.dbf field : state , city
by Silvio.Falconi
Fri Jul 28, 2023 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse + Tree sample does not work.
Replies: 6
Views: 646

Re: lIncrFilter + MDI

... ITEMS { "Starting With", "Containing" } ; ON CHANGE ( oBrw:lSeekWild := ( nWild == 2 ), ; oBrw:Seek( If( oBrw:lSeekWild, oBrw:cSeek, "" ) ), ; oBrw:SetFocus() ) ; SIZE 70,400 PIXEL OF oDlg @ 11,160 SAY oBrw:oSeek PROMPT oBrw:cSeek SIZE 200,10 PIXEL ; OF oDlg COLOR ...
by cpheraclio
Sun Jun 04, 2023 11:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: lIncrFilter + MDI
Replies: 4
Views: 369

Re: XBROWSE Column Question

Here is a sample for ordwildseek. It's new to me.... https://forums.fivetechsupport.com/viewtopic.php?f=3&t=39965 Mr. Venken OrdWildSeek( cSeek, ... ) is actually an (x)Harbour function in DBFNTX and DBFCDX RDDs, applicable for indexed DBFs. We can seek expressions like "*A?C" ...
by nageswaragunupudi
Wed May 10, 2023 7:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 867

Re: XBROWSE : Seek(), OrdwildSeek() and "increment"

... responds to the keys pressed by the user to perform the seek/filter according to the variable set as explained above. Sampe code to display cSeek:      @ nRow, 135 SAY oBrw:oSeek prompt oBrw:cSeek ;         SIZE 100,10 PIXEL UPDATE OF oDlg ;         COLOR CLR_RED,CLR_YELLOW  When the xbrowse ...
by nageswaragunupudi
Sat May 06, 2023 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Seek(), OrdwildSeek() and "increment"
Replies: 3
Views: 276

Re: XBROWSE Column Question

STATIC FUNCTION StripFunc( cSeek )


XBrowse automatically uses similar logic to indentify which INDEX/ORDER to be used for which column and stores the INDEXNAME in the data oCol:cSortOrder, while initially building the browse.
XBrowse uses this information to do AutoSort
by nageswaragunupudi
Sat May 06, 2023 2:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 867

still the ordkeycount error

... RESOURCE "MOD_REC"; ACTION Edit_UnMisura(oBrw,2,oDlg,oMisura) GROUP WHEN oMisura:OrdKeyCount() > 0 @ 10, 165 GET oGet VAR cSeek...... @ 110,10 XBROWSE oBrw SIZE -10,-10 PIXEL...... @ 10, 550 COMBOBOX oBrw:oSortCbx.... ACTIVATE DIALOG oDlg CENTER NOWAIT; VALID Chiudi_Dbf(oMisura) ...
by Silvio.Falconi
Tue Mar 14, 2023 9:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: still the ordkeycount error
Replies: 7
Views: 476

"Starting With", "Containing"

I made the search on xbrowse with @ 10, 165 GET oGet VAR cSeek..... @ 10, 550 COMBOBOX oBrw:oSortCbx VAR oBrw:cSortOrder; SIZE 150,400 PIXEL OF oDlg HEIGHTGET 14.8 STYLE CBS_DROPDOWN I'd like add also the options "Starting With", "Containing" ...
by Silvio.Falconi
Fri Mar 10, 2023 10:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: "Starting With", "Containing"
Replies: 4
Views: 354

show /hide a bitmap on a get

I have this tget control When the cSeek is empty it must not show any button when the user insert any digit it must show the button and the bitmap How resolve it?  #include "FiveWin.ch" function Main()            local oDlg,oGet ...
by Silvio.Falconi
Fri Feb 24, 2023 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show /hide a bitmap on a get
Replies: 6
Views: 446

DBF REDE/WEB WINDOWS 7/10/11

... cRegistro,cEmpresa, cAvulso, cCodProDes, lConfirmado, nValor, dDataPagto,cNomeTrab,cNomeProv, cComp ) LOCAL aRet LOCAL nSele := Select() LOCAL cSeek, nOrdem //? cAvulso , cRegistro , cAvulso+cRegistro DEFAULT dDataPagto := "" // MsgStop( cComp ) IF Empty( cEmpresa ) nOrdem := 1 // ...
by wanderson8
Sun Jan 08, 2023 3:10 pm
 
Forum: All products support
Topic: DBF REDE/WEB WINDOWS 7/10/11
Replies: 0
Views: 9343
Next

Return to advanced search