Search found 57 matches: upper
Searched query: upper
- Wed Jan 08, 2025 3:13 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xbrowse, bkeydown and number
- Replies: 1
- Views: 138
xbrowse, bkeydown and number
:bKeyDown := { | nKey | FWBrowseKey( xDlg, xControl, nKey, ... ) }
CASE IsRange( nKey, 32, 127 )
cFilter += Upper( Chr( nKey ) )
If type letters ok
if type numbers from normal keyboard ok
if type numbers from numeric keyboard not
Is it expected ?
Note:
1 from normal keyboard returns ...
- Fri Nov 15, 2024 5:08 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: España: Normativa sancionadora sistemas informáticos
- Replies: 340
- Views: 86743
Re: España: Normativa sancionadora sistemas informáticos
... con el ejemplo que viene en la documentación de la Agencia Tributaria.
Lo hago utilizando todo en una cadena continua de caracteres
FWrite( nMan, Upper( HB_SHA256( "IDEmisorFactura=89890001K&NumSerieFactura=12345678/G33&FechaExpedicionFactura=01-01-2024&TipoFactura=F1&CuotaTotal=12.35&ImporteTotal ...
Lo hago utilizando todo en una cadena continua de caracteres
FWrite( nMan, Upper( HB_SHA256( "IDEmisorFactura=89890001K&NumSerieFactura=12345678/G33&FechaExpedicionFactura=01-01-2024&TipoFactura=F1&CuotaTotal=12.35&ImporteTotal ...
- Sun Oct 20, 2024 8:27 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Extending SetScope()
- Replies: 15
- Views: 1613
Re: Extending SetScope()
upper(reflev)+upper(kleur)+upper(size)
I suggest this optimization:
upper(reflev+kleur+size)
I see that the index will be faster since upper is from 3 to 1, but is it also nessesary to change how the filter will be created ?
Current filter :
"WIC" $ UPPER( TAG ) .AND. "POLO" $ UPPER( NAAM ...
I suggest this optimization:
upper(reflev+kleur+size)
I see that the index will be faster since upper is from 3 to 1, but is it also nessesary to change how the filter will be created ?
Current filter :
"WIC" $ UPPER( TAG ) .AND. "POLO" $ UPPER( NAAM ...
- Sun Oct 20, 2024 1:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Extending SetScope()
- Replies: 15
- Views: 1613
Re: Extending SetScope()
I suggest this optimization:Marc Venken wrote:upper(reflev)+upper(kleur)+upper(size)
Code: Select all | Expand
upper(reflev+kleur+size)
- Sun Oct 20, 2024 1:15 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Extending SetScope()
- Replies: 15
- Views: 1613
Re: Extending SetScope()
... snipped where you use Xbrowse Header gets and use temp index instead of filter.
You would make
local ...
Field Tag, Naam, Kleur
Filter =
"WIC" $ UPPER( TAG ) .AND. "POLO" $ UPPER( NAAM ) .AND. "WHITE" $ UPPER( KLEUR )
Index will be like
index on upper(TAG)+upper(NAAM)+upper(KLEUR) tmp (sample, not ...
You would make
local ...
Field Tag, Naam, Kleur
Filter =
"WIC" $ UPPER( TAG ) .AND. "POLO" $ UPPER( NAAM ) .AND. "WHITE" $ UPPER( KLEUR )
Index will be like
index on upper(TAG)+upper(NAAM)+upper(KLEUR) tmp (sample, not ...
- Sun Oct 20, 2024 1:08 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Extending SetScope()
- Replies: 15
- Views: 1613
Re: Extending SetScope()
I have a dbf with 380.000 records, 32 fields and 7 tags. (242 Megabite)
the filter look like :
"WIC" $ UPPER( TAG ) .AND. "POLO" $ UPPER( NAAM ) .AND. "WHITE" $ UPPER( KLEUR )
This filter is build with the above function Marc_Setfilter using Xbrowse header gets.
The active tag =
upper(reflev ...
the filter look like :
"WIC" $ UPPER( TAG ) .AND. "POLO" $ UPPER( NAAM ) .AND. "WHITE" $ UPPER( KLEUR )
This filter is build with the above function Marc_Setfilter using Xbrowse header gets.
The active tag =
upper(reflev ...
- Thu Sep 26, 2024 6:54 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Separar nombre y apellidos en una consulta mysql
- Replies: 15
- Views: 3058
Re: Separar nombre y apellidos en una consulta mysql
... PRIMER APELLIDO
*** APELLIDO_2: DONDE QUEREMOS DEJAR EL SEGUNDO APELLIDO
********************************************************************
VAPET=UPPER(ALLTRIM(NOMB_APE))
VAPE2=SUBSTR(VAPET,RAT(" ",VAPET)+1)
REPLA APELLIDO_2 WITH VAPE2
VAPET=ALLTRIM(SUBSTR(VAPET,1,RAT(" ",VAPET)-1))
VAPE1=SUBSTR ...
*** APELLIDO_2: DONDE QUEREMOS DEJAR EL SEGUNDO APELLIDO
********************************************************************
VAPET=UPPER(ALLTRIM(NOMB_APE))
VAPE2=SUBSTR(VAPET,RAT(" ",VAPET)+1)
REPLA APELLIDO_2 WITH VAPE2
VAPET=ALLTRIM(SUBSTR(VAPET,1,RAT(" ",VAPET)-1))
VAPE1=SUBSTR ...
- Fri Aug 23, 2024 4:04 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH_2407 oSay does not assume nHeight
- Replies: 32
- Views: 6260
Re: FWH_2407 oSay does not assume nHeight
... lBorder.>,;
<.lPixel.>, <nClrText>, <nClrBack>, <nWidth>, <nHeight>,;
<.design.>, <.update.>, <.lShaded.>, <.lBox.>, <.lRaised.>, <.adj.>,;
<.lTrans.>, [<(oSay)>], [Upper( Left( <"uni">, 1 ) ) == "U"], <.lVCenter.>, [<uCargo>], [<.relpix.>], <nClrBorder> ); [ <oSay>:SetSize( <nWidth>, <nHeight> ) ]
<.lPixel.>, <nClrText>, <nClrBack>, <nWidth>, <nHeight>,;
<.design.>, <.update.>, <.lShaded.>, <.lBox.>, <.lRaised.>, <.adj.>,;
<.lTrans.>, [<(oSay)>], [Upper( Left( <"uni">, 1 ) ) == "U"], <.lVCenter.>, [<uCargo>], [<.relpix.>], <nClrBorder> ); [ <oSay>:SetSize( <nWidth>, <nHeight> ) ]
- Thu Aug 22, 2024 4:53 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH_2407 oSay does not assume nHeight
- Replies: 32
- Views: 6260
Re: FWH_2407 oSay does not assume nHeight
... nClrText>, <nClrBack>, <nWidth>, <nHeight>,;
<.design.>, <.update.>, <.lShaded.>, <.lBox.>, <.lRaised.>, <.adj.>,;
<.lTrans.>, [<(oSay)>], [Upper( Left( <"uni">, 1 ) ) == "U"], <.lVCenter.>, [<uCargo>], [<.relpix.>], <nClrBorder> ); [ <oSay>:SetSize( <nWidth>, <nHeight> ) ]
You are right and ...
<.design.>, <.update.>, <.lShaded.>, <.lBox.>, <.lRaised.>, <.adj.>,;
<.lTrans.>, [<(oSay)>], [Upper( Left( <"uni">, 1 ) ) == "U"], <.lVCenter.>, [<uCargo>], [<.relpix.>], <nClrBorder> ); [ <oSay>:SetSize( <nWidth>, <nHeight> ) ]
You are right and ...
- Fri Aug 02, 2024 9:59 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: España: Normativa sancionadora sistemas informáticos
- Replies: 340
- Views: 86743
Re: España: Normativa sancionadora sistemas informáticos
Debes de añadir un Upper() al retorno del valor.
https://www.agenciatributaria.es/static_files/AEAT_Desarrolladores/EEDD/IVA/VERI-FACTU/Veri-Factu_especificaciones_huella_hash_registros.pdf
Apartado 6. Ejemplos
Además yo forzaré a guardar los datos/campos que intervienen en la huella directamente ...
- Fri Aug 02, 2024 8:44 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: España: Normativa sancionadora sistemas informáticos
- Replies: 340
- Views: 86743
Re: España: Normativa sancionadora sistemas informáticos
... 2 )) + "&Huella=" + "3C464DAF61ACB827C65FDA19F352A4E3BDC2 C640E9E9FC4CC058073F38F12F60" + "&FechaHoraHusoGenRegistro=" + cUtcTime
h['Huella'] := Upper(HB_SHA256( h['TextHuella'] ))
No se porque le antepones hb_base64Encode()... ¿?¿?
Debes de añadir un Upper() al retorno del valor.
Además ...
h['Huella'] := Upper(HB_SHA256( h['TextHuella'] ))
No se porque le antepones hb_base64Encode()... ¿?¿?
Debes de añadir un Upper() al retorno del valor.
Además ...
- Wed Jul 17, 2024 5:46 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Numeric Comparison
- Replies: 6
- Views: 828
Re: Numeric Comparison
My last comment focused on a different issue / question:
The code is:
bFor:= compile( "_Field->"+ upper(cSearchField) + cOpsType + cValToChar(uOldValue ) )
/code]
bFor becomes a code block.
The field I am searching is CLSBAL
The type is Numeric
However uOldValue is translated to a character ...
The code is:
bFor:= compile( "_Field->"+ upper(cSearchField) + cOpsType + cValToChar(uOldValue ) )
/code]
bFor becomes a code block.
The field I am searching is CLSBAL
The type is Numeric
However uOldValue is translated to a character ...
- Sun Jun 16, 2024 6:31 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Problemas con una búsqueda.
- Replies: 4
- Views: 545
Re: Problemas con una búsqueda.
... static function TToD(cDate, cFormat)
LOCAL cDay, cMonth, cYear, cLYear
LOCAL RetDate
LOCAL cClipFormat := UPPER(SET(4))
LOCAL nEPOCH := SET(5)
IF VALTYPE(cFormat) != "C"
cFormat := "MM/DD/YY"
ENDIF
IF EMPTY(cDate)
RetDate := CTOD("")
ELSE
IF ("YYYY ...
LOCAL cDay, cMonth, cYear, cLYear
LOCAL RetDate
LOCAL cClipFormat := UPPER(SET(4))
LOCAL nEPOCH := SET(5)
IF VALTYPE(cFormat) != "C"
cFormat := "MM/DD/YY"
ENDIF
IF EMPTY(cDate)
RetDate := CTOD("")
ELSE
IF ("YYYY ...
- Thu Jun 06, 2024 12:56 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: how to find out if a Record was updated ?
- Replies: 10
- Views: 822
Re: how to find out if a Record was updated ?
Jimmy
All you need to do is add two fields to your database table
cUser := WNetGetUser() // FiveWin function
cUser := UPPER( cUser )
"LastUpdate" "D" 8 and "UpdatedBy" "C" 15
When you add or save a record just update the lastupdate field with Date() and UpdatedBy by the person logged into the ...
All you need to do is add two fields to your database table
cUser := WNetGetUser() // FiveWin function
cUser := UPPER( cUser )
"LastUpdate" "D" 8 and "UpdatedBy" "C" 15
When you add or save a record just update the lastupdate field with Date() and UpdatedBy by the person logged into the ...
- Tue Jun 04, 2024 2:18 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Ayuda con DLL
- Replies: 8
- Views: 853
Re: Ayuda con DLL
... Tanque:"+ ALLTRIM(Pico:m_strTanks)+";"+;
"ID fisico:"+ALLTRIM(STR(Pico:m_iPhysicalID))+CHR(13)
AADD(Vec1,Li)
VecDes[Pico:m_iGradeNr]:=UPPER(Desc)
VecMan[N] :=Pico:m_iGradeNr
VecPre[N] :=VAL(Pico:m_strPPU)
VecTan[N] :=VAL(SUBSTR(Pico:m_strTanks,1,2))
VecTanq[VecTan[N]] :=1
IF L=1 ...
"ID fisico:"+ALLTRIM(STR(Pico:m_iPhysicalID))+CHR(13)
AADD(Vec1,Li)
VecDes[Pico:m_iGradeNr]:=UPPER(Desc)
VecMan[N] :=Pico:m_iGradeNr
VecPre[N] :=VAL(Pico:m_strPPU)
VecTan[N] :=VAL(SUBSTR(Pico:m_strTanks,1,2))
VecTanq[VecTan[N]] :=1
IF L=1 ...