Search found 252 matches: nlen

Return to advanced search

Re: records on xbrowse

any solution please ? the problem is when I make a search for a sample "frank" ( on First) ndatarow is 3 and also obrw:nlen is 3 I tried to inser a variable nTotalrecords at init oDbf:= TCustomer():New() oDbf:setorder(1) oDbf:Gotop() nTotalRecords:= oDbf:OrdKeyCount() and the ...
by Silvio.Falconi
Wed Mar 27, 2024 9:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1695

Re: records on xbrowse

oDbf:OrdKeyCount() ) This works only for oDbf. Using oBrw:nLen or oBrw:KeyCount() works for all datasources. ok but the button are not refreshed , only when I move the mouse into obrw for a sample WHEN ( oBrw:nDataRows <= oBrw:nLen ) not work WHEN ...
by Silvio.Falconi
Tue Mar 26, 2024 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1695

Re: records on xbrowse

oDbf:OrdKeyCount() )


This works only for oDbf.
Using oBrw:nLen or oBrw:KeyCount() works for all datasources.
by nageswaragunupudi
Tue Mar 26, 2024 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1695

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse. Also oBrw:nDataRows changes when browse is resized. DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= ...
by Silvio.Falconi
Tue Mar 26, 2024 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1695

Re: records on xbrowse

oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse.
Also oBrw:nDataRows changes when browse is resized.

Code: Select all  Expand view
DEFINE BUTTON/BTNBMP ..... (arrows)  ... WHEN ( oBrw:nDataRows >= oBrw:nLen )

would work
by nageswaragunupudi
Tue Mar 26, 2024 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1695

Re: records on xbrowse

oBrw:nLen But in case of DBF, please see https://forums.fivetechsupport.com/viewtopic.php?f=3&t=44259&p=268091&hilit=DELETED&sid=ff38ec55e29d34b39e3578311e2aeb8d#p268091 https://i.postimg.cc/FHdXGgsv/gggggg.png ...
by Silvio.Falconi
Tue Mar 26, 2024 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1695

Re: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)

... prg este porcion #pragma BEGINDUMP #include <hbapi.h> #undef hb_retclen_buffer #undef hb_parldef void hb_retclen_buffer( char * szText, int nLen ) { hb_retclen( szText, nLen ); } int hb_parldef( int iParam, int iDefValue ) { return hb_parl( iParam, iDefValue ); } #pragma ENDDUMP
by CARLOS ATUNCAR
Fri Jan 26, 2024 11:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)
Replies: 5
Views: 279

Re: Help with complex JSON

Solucionado nLen := Len( oSire:jsonPeriodo ) hJson:= oSire:jsonPeriodo If !Empty( nLen ) FOR EACH o IN hJson eje->(DBAppend()) eje->ejercicio := o["numEjercicio"] eje->desestado := o["desEstado"] FOR ...
by CARLOS ATUNCAR
Sat Sep 23, 2023 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with complex JSON
Replies: 12
Views: 1216

Re: Help with complex JSON

... {"perTributario":"202305","codEstado":"03","desEstado":"No Presentado"}]}] nLen := hb_jsonDecode(cRpta,@hJson) HB_MEMOWRIT(::cPathDescarga+"respuesta.txt",cRpta) FW_MEMOEDIT( hJson, "JSON" ) Error: Error ...
by CARLOS ATUNCAR
Sat Sep 23, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with complex JSON
Replies: 12
Views: 1216

Re: DBF to Excel Sheet, without Excel, using ADO ?

... oCn, cTable, aStruct )LOCAL oCat   := CreateObject( "ADOX.Catalog" )LOCAL oTable, aFld, n, cTypeLOCAL oColLOCAL nType, nLen, i, iMax, cName   oCat:ActiveConnection := oCn   cTable := LOWER( cTable )   oTable := CreateObject( "ADOX.Table" )  ...
by Jimmy
Wed Aug 16, 2023 5:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2584

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

... .and. lFileIsRemote( ( ::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()" ...
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: 406

DBF REDE/WEB WINDOWS 7/10/11

... RETURN NIL FUNCTION TESTA_PROCESSO_01(cCompetencia) LOCAL aRet := {} LOCAL dData LOCAL nSele := Select() LOCAL cAvulso LOCAL cField, nLen LOCAL oMes,oEmp,oAvu LOCAL oPan, aCargo, cAno,lAllOk, nPos, aTemp, a // LOCAL cComp LOCAL nConti:=0 LOCAL nContador :=0 LOCAL nContador2:=0 local ...
by wanderson8
Sun Jan 08, 2023 3:10 pm
 
Forum: All products support
Topic: DBF REDE/WEB WINDOWS 7/10/11
Replies: 0
Views: 9372

Re: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ

Prueba asi:

msginfo( CChex_Update( Anviz_handle, iDx, tipo, aDatos, nLen ) )
by Antonio Linares
Wed Sep 07, 2022 5:40 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: INTEGRACION CON DLL PARA CONECTAR CON DISPOSITIVOS ANVIZ
Replies: 27
Views: 2087

library of utility functions of FWH also for mod HARBOUR

... MH_RecordSetToHTML( oRs, lHtmlPage ) static function CloseTag( cTag ) static function ImageType( cBuf ) static function IsBinaryData( cData, nLen ) static function MH_ValToHTML( uVal, cTag ) These functions are working well and are generic functions. If we see that there is some interest ...
by Otto
Mon Apr 19, 2021 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: library of utility functions of FWH also for mod HARBOUR
Replies: 0
Views: 352
Next

Return to advanced search