Search found 4 matches

by solving
Wed Jan 31, 2024 5:55 pm
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowser, ordenar una columna del tipo "C"
Replies: 3
Views: 453

Re: xbrowser, ordenar una columna del tipo "C"

puedes probar esto, ver si funciona

PADL(::oQry:FieldGet( "c4"), 2, "0")

Substr( PADL(::oQry:FieldGet( "c4"), 2, "0"),1,2)

o

PADL(alltrim(::oQry:FieldGet( "c4")), 2, "0")
by solving
Wed Jan 31, 2024 10:32 am
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowser, ordenar una columna del tipo "C"
Replies: 3
Views: 453

Re: xbrowser, ordenar una columna del tipo "C"

cambie el valor a 01, no a 1.
ejemplo: 1,2,3,4,5,6,7,8,9
se convierte en 01,02,03,04,05,06,07,08,09

01/0001
02/....
03/....
by solving
Fri Jan 26, 2024 10:42 am
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 3225

Re: erase files

la sintassi :
aDir := DIRECTORY(cDir+ "*.*", "D" )
include nell'array anche i "." e ".."
aDIR[1,1] = "."
aDIR[2,1] = ".."

se usi :
aDir := DIRECTORY(cDir+ "*.*" ) , non verranno inglobati "." e ".."

se usi il parametro "D" allora devi controllare il contenuto dell'array

IF cFile <> "." .OR ...
by solving
Thu Jan 25, 2024 6:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 3225

Re: erase files

LOCAL xPath := "C:\PDF\"

* --- Elimina File che Iniziano con CLI_...PDF
AEVAL(DIRECTORY(xPath + "CLI_*.PDF"),{|aFile|FERASE(xPath + aFile[F_NAME])} )


nel tuo comando :
cFILE := ALLTRIM( aDIR [1] )

fai un display della variabile cFILE se comprende il path completo + \ , es. c:\mydir\temp2.cdx o ...