multiple files names

multiple files names

Postby Silvio.Falconi » Sun Jun 12, 2016 9:09 am

I have scanned many files, the operation is fast because where I work we have a multiple scanners and it's possible that some files will be saved with the previous file name because I have given the name with the current date and time as I can solve in order to have different names for all the scanned files

I made

Local dTime := (VAL(LEFT(Time(),2)) * 100) + VAL(RIGHT(Time(),2))
Local nomefile :=DtoS(Date())+alltrim(str(dTime))+"noname.JPG"



how I can resolve it ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: multiple files names

Postby nageswaragunupudi » Mon Jun 13, 2016 1:58 am

TTOS(DATETIME())+cValToChar(HB_RandomInt(9)) + ".jpg"
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: multiple files names

Postby Silvio.Falconi » Mon Jun 13, 2016 7:25 am

thanks Mr Rao
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 85 guests