Hola todos,
Tengo unas DBF que tienen algunos campos numéricos (normalmente sin decimales).
¿Cómo los encriptarían ustedes?
Muchas gracias,
Un Saludo
Carlos G.
FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home
Hola todos,
Tengo unas DBF que tienen algunos campos numéricos (normalmente sin decimales).
¿Cómo los encriptarían ustedes?
Muchas gracias,
Un Saludo
Carlos G.
FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home
nRetCLAVE := ( DbEmpresa:cAlias )->NCGCCLAVE // numerico
nSequencial := ( nRetCLAVE ) * 3 + 87654321
cCLAVE := STR( nSequencial )
cCampoClave := ENCRYPT( ALLTRIM( cCLAVE ), "*+-." )
? cCampoClave
TRABAREG(0)
REPLACE SEQUENCIA WITH cCampoClave
DESTRABA(0)karinha wrote:Talvéz:
nRetCLAVE := ( DbEmpresa:cAlias )->NCGCCLAVE // numerico nSequencial := ( nRetCLAVE ) * 3 + 87654321 cCLAVE := STR( nSequencial ) cCampoClave := ENCRYPT( ALLTRIM( cCLAVE ), "*+-." ) ? cCampoClave TRABAREG(0) REPLACE SEQUENCIA WITH cCampoClave DESTRABA(0)
Saludos.
Un Saludo
Carlos G.
FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home