Search found 238 matches: ordsetfocus

Return to advanced search

Re: Reason for closing DBF file

... IF FILE( PathPag+cNomTab ) // SIEMPRE SERAN DBF'S can you please show CODE from Function lUsaTab() where do you "open" *.CDX and use ORDSETFOCUS() :?:
by Jimmy
Wed Sep 20, 2023 3:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reason for closing DBF file
Replies: 23
Views: 1167

Re: XBROWSE Column Question

hi, thx for Answer Do you want to find the column object that is currently sorted on the ordsetfocus() ?. YES oBrw:oSortCol --> Currently sorted column obect. i.e., the column sorted on the ordsetfocus()We can now get anythingoBrw:oSortCol:cHeaderoBrw:oSortCol:cExpr ...
by Jimmy
Tue May 09, 2023 8:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 891

Re: XBROWSE Column Question

Do you want to find the column object that is currently sorted on the ordsetfocus() ? oBrw:oSortCol --> Currently sorted column obect. i.e., the column sorted on the ordsetfocus() We can now get anything oBrw:oSortCol:cHeader oBrw:oSortCol:cExpr // field ...
by nageswaragunupudi
Tue May 09, 2023 9:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 891

Re: XBROWSE Column Question

... oCol ) CLASS TXBrowse but no Sample how to use it ... it seem this CODE work   oBro:GoToCol(oBro:aCols[nPosi]) --- when switch ORDSETFOCUS() or SET INDEX TO i try to find Column in XBROWSE when have NO "own" Header it will display Name of FIELD in Header in this case ...
by Jimmy
Fri May 05, 2023 7:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 891

Re: XBrowse con xBase - Efecto Pijama - Error en Red

... ( ::cAlias )->( DBINFO( DBI_FULLPATH ) ) ) * DEFAULT ::bKeyNo := { |n| ( ::cAlias )->( If( n == nil, OrdKeyRelPos() * ::nLen, ; * If( Empty( OrdSetFocus() ), OrdKeyGoTo( n ), OrdKeyRelPos( n / ::nLen ) ) ) ) } * else ::lRelyOnKeyNo := If( Set( _SET_DELETED ), "DELETED()" $ Upper( ...
by José
Tue Mar 21, 2023 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse con xBase - Efecto Pijama - Error en Red
Replies: 3
Views: 415

Re: Ayuda en FOLDEREX

... siempre me trabaja con el último índice, es decir, el de "Quesos" aun cuando selecciono la pestaña "Productos" y con ordsetfocus("productos") siguen saliendo los datos del índice "Quesos", que es justamente el último creado. He probado con set order ...
by Ramón J.
Wed Feb 09, 2022 4:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda en FOLDEREX
Replies: 16
Views: 1345

Re: TDatabase Class

(::cAlias )->(OrdsetFocus("Fetcha")) .. the use of OrdScope ?? in tDatabase .. Yes, there is the method OrdScope(uTop, uBottom) in TDatabase. Use the same value for both uTop and uBottom to limit the ...
by James Bott
Wed May 19, 2021 10:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase Class
Replies: 18
Views: 2121

Re: TDatabase Class

... search with TDatabase since it is object based ... and there is no 'like' or 'filter' in traditional DbfCdx .. but there is (::cAlias )->(OrdsetFocus("Fetcha")) .. the use of OrdScope ?? in tDatabase .. Appreciate your help!! Thanks Rick Lipkin
by Rick Lipkin
Wed May 19, 2021 8:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase Class
Replies: 18
Views: 2121

Re: TDatabase Class

... cSceis1) ) oRsCust:Filter := "[CustomerName] = 'bogus'" Case !empty( cLname1 ) .and. Empty( cCid1 ) .and. Empty( cSceis1 ) * oDbf->OrdSetFocus( cLname1 ) * Set Scope to ( cLname1 ) * return ( ::cAlias )->( OrdScope( nScopeType, uValue ) ) * oRsCust:Filter := "[CustomerName] ...
by Rick Lipkin
Wed May 19, 2021 7:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase Class
Replies: 18
Views: 2121

Re: xBrowse and SQLRDD bug

Yes, I confirm that DBFILTER()/SET FILTER TO and ORDSETFOCUS() work under SQLRDD.

And yes, when a filter is set, OrdKeyCount() Works too.

But never OrdKeyNo()

I am going to test your new versión and share the results.

Thank you.
by MOISES
Thu Apr 30, 2020 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and SQLRDD bug
Replies: 18
Views: 2464

Re: HDORDD. Importando datos desde dos conexiones diferentes.

... ? indexord() ? LOCATE FOR ALLTRIM(CLIENTES->NOMBRE) = ALLTRIM(CNOMBRE) .AND. ALLTRIM(CLIENTES->APELLIDOS) = ALLTRIM(CAPELLIDOS) si OrdSetFocus(“CLIENTES2”) si RECNO() ? REPLACE si SELECT() si SELECT(“CLIENTES”) si SET FILTER ? SET SCOPE TO ( cSERIE + StrZero( NUMERO_ORI,20 ) ) ? ...
by xmanuel
Sun Apr 26, 2020 11:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: HDORDD. Importando datos desde dos conexiones diferentes.
Replies: 12
Views: 1679

Error BASE/1003 no existe la variable cFile

... (cFile)->RUT}) ordCreate(".\FINAL\"+cFile,"NOMBRE","(cFile)->NOMBRE",{|| (cFile)->NOMBRE}) (cFile)->(OrdSetFocus(2)) Cuando era solo un archivo no tenía problemas ahora tengo que generar DBF con distintos nombres. Muchas gracias por su ayuda Waldemar
by wyerco613
Wed Aug 21, 2019 12:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error BASE/1003 no existe la variable cFile
Replies: 4
Views: 759

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

... seem this function is not right with tdatabase as sad James and Nages FUNC CreaCodiceClienti(oDbf) LOCAL nLast := 0 local nArea := Select() oDbf:OrdSetFocus(0) oDbf:GoBottom() nLast := Val(oDbf:NumCli) + 1 Select (nArea) RETURN StrZero(nLast,4) I have always done it this way and besides I have ...
by Silvio.Falconi
Sun Mar 31, 2019 4:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 3719

Re: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!

... in cSwapFields. Does not change fields no contained in cSwapFields. You decide what fields you want to swap Note: Keep the DBF in natural order ( OrdSetFocus( 0 ) )
by nageswaragunupudi
Wed Jan 30, 2019 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!
Replies: 20
Views: 3385

Re: funciones de FWH y Harbour en un archivo .txt

... OrdName(<nOrder>,[<cOrderBagName>)->cOrderName OrdNumber(<cOrderName>,[<cOrderBagName>])->nOrderNo OrdSetFocus([<cOrderName>|<nOrder>],[<cOrderBagName>])->cPrevOrderNameInFocus OrdSkipRaw([<nRecords>])->Nil OrdWildSeek(<cWildCardString>,[<lCurrentRec>],[<lBackwards>])->lFound ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5726
Next

Return to advanced search