... Archivi(cDir)
local adir := DIRECTORY(cDir+ "*.*", "D" )
local i,cFile
FOR i = 1 to LEN( aDir )
cFILE := ALLTRIM( aDIR[i][1] )
IF FErase(cDir+cFile ) != 0
? FERROR()
endif
NEXT
return nil
Erased only some files ( 2 not) and the "?Ferror" give me this
https://i.postimg.cc/j2JWCZs1/ff.png
Search found 99 matches: erased
Searched query: erased
- Thu Jan 25, 2024 8:51 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: erase files - Resolved!!
- Replies: 20
- Views: 3843
- Wed Jan 24, 2024 2:44 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: erase files - Resolved!!
- Replies: 20
- Views: 3843
Re: erase files
... If the ERASE command does not really erase an existing file, there can be a valid reason like the file is in use by some application or some other reason.
The best way to find out the reason is to
if FERASE( cFile ) != 0
? FERROR()
endif
FError() tells you the reason why the file is not erased
The best way to find out the reason is to
if FERASE( cFile ) != 0
? FERROR()
endif
FError() tells you the reason why the file is not erased
- Wed Aug 30, 2023 9:51 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Explore Yunus and FW_dbftoarray and FW_SaveArrayToDBF
- Replies: 1
- Views: 347
Explore Yunus and FW_dbftoarray and FW_SaveArrayToDBF
... that will be saved ?
Do I have to delete the items so now and then in a separate maintenance procedure where all deleted invoice items will be erased for sure ?
Before save this code is done in Yunus.
if ! Empty( oBrw:aDeleted )
AEval( oBrw:aDeleted, { |a| a[ 9 ] := -a[ 9 ] } )
IIT->( FW ...
Do I have to delete the items so now and then in a separate maintenance procedure where all deleted invoice items will be erased for sure ?
Before save this code is done in Yunus.
if ! Empty( oBrw:aDeleted )
AEval( oBrw:aDeleted, { |a| a[ 9 ] := -a[ 9 ] } )
IIT->( FW ...
- Fri Mar 31, 2023 8:09 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Advise in Server hardware
- Replies: 12
- Views: 3168
Advise in Server hardware
... and finaly I saw a offer for this kind of machine :
Dell Precision 7920 for around 2.900 euro (here some hardware like to much nVidia could be erased.
Chassis
Dell Precision 7920
CPU
2x Intel Xeon Gold 6130 - 16C/24T, 2.70-3.70Ghz, 22MB Cache, 125W
Mem
256GB DDR4, 16x 16GB PC4-2666
RAID ...
Dell Precision 7920 for around 2.900 euro (here some hardware like to much nVidia could be erased.
Chassis
Dell Precision 7920
CPU
2x Intel Xeon Gold 6130 - 16C/24T, 2.70-3.70Ghz, 22MB Cache, 125W
Mem
256GB DDR4, 16x 16GB PC4-2666
RAID ...
- Sat Oct 23, 2021 4:49 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: help on a GPF situation
- Replies: 26
- Views: 4747
Re: help on a GPF situation
... run-time
----------- ----------- ----------------------------------------
HB_TR_INFO HB_TR_ERROR All calls with levels HB_DEBUG are
or erased from the code, so they have no
HB_TR_LEVEL_INFO performance effect; only calls with
levels HB_TR_ERROR, HB_TR_FATAL and
HB_TR_ALWAYS are printed ...
----------- ----------- ----------------------------------------
HB_TR_INFO HB_TR_ERROR All calls with levels HB_DEBUG are
or erased from the code, so they have no
HB_TR_LEVEL_INFO performance effect; only calls with
levels HB_TR_ERROR, HB_TR_FATAL and
HB_TR_ALWAYS are printed ...
- Thu Feb 13, 2020 1:40 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: BUG on GETS with password
- Replies: 11
- Views: 3513
Re: BUG on GETS with password
... stops and the user must type in the password. This problem is solved.
NOT SOLVED!!
The picture-clause (in my case "@!") from a passwort-get is not respected on input and also overwrite is not functioning (also mark all and press any letter the old input is not erased)!!
I am looking into this.
NOT SOLVED!!
The picture-clause (in my case "@!") from a passwort-get is not respected on input and also overwrite is not functioning (also mark all and press any letter the old input is not erased)!!
I am looking into this.
- Thu Feb 13, 2020 1:11 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: BUG on GETS with password
- Replies: 11
- Views: 3513
Re: BUG on GETS with password
... types in a char, the timer stops and the user must type in the password. This problem is solved.
NOT SOLVED!!
The picture-clause (in my case "@!") from a passwort-get is not respected on input and also overwrite is not functioning (also mark all and press any letter the old input is not erased)!!
NOT SOLVED!!
The picture-clause (in my case "@!") from a passwort-get is not respected on input and also overwrite is not functioning (also mark all and press any letter the old input is not erased)!!
- Mon Feb 10, 2020 12:44 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: BUG on GETS with password
- Replies: 11
- Views: 3513
Re: BUG on GETS with password
... lactive,oTimer:deactivate(),)
and then it was functioning. But I use this for years. From 1912 on, this is so.
But the picture-clause from a passwort-get is not respected on input and also overwrite is not functioning (also mark all and press any letter the old input is not erased)!!
and then it was functioning. But I use this for years. From 1912 on, this is so.
But the picture-clause from a passwort-get is not respected on input and also overwrite is not functioning (also mark all and press any letter the old input is not erased)!!
- Sat Aug 10, 2019 10:37 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: strange problem with tdatabase
- Replies: 5
- Views: 1180
strange problem with tdatabase
... skip()
EndDo
oPartRes:Gotop()
SET DELETED ON
oPartRes:SetOrder( 0 )
oPartRes:GoTo( 1 )
oPartRes:ArrayToDBF( aItems, cItemFlds, nil, .t., .t. )
it save goog but erased all records
I wish save on dbf with the condition alltrim(oPartRes:InvNum) == alltrim(nInvoice
Any solution please ...
EndDo
oPartRes:Gotop()
SET DELETED ON
oPartRes:SetOrder( 0 )
oPartRes:GoTo( 1 )
oPartRes:ArrayToDBF( aItems, cItemFlds, nil, .t., .t. )
it save goog but erased all records
I wish save on dbf with the condition alltrim(oPartRes:InvNum) == alltrim(nInvoice
Any solution please ...
- Tue Jul 02, 2019 3:53 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Problem with Tplan : Cargo Error
- Replies: 26
- Views: 4231
Re: Problem with Tplan : Cargo Error
Rith it's possible.
Now I erased all and re-write a test
PPlan.prg
function Planning() local nSplit := VAL(GetPvProfString("Browse", "StSplit","102", oApp():cIniUser)) Local oExBar //new local cDir := oApp():cDbfPath IF oApp():oDlg != NIL IF oApp ...
Now I erased all and re-write a test
PPlan.prg
function Planning() local nSplit := VAL(GetPvProfString("Browse", "StSplit","102", oApp():cIniUser)) Local oExBar //new local cDir := oApp():cDbfPath IF oApp():oDlg != NIL IF oApp ...
- Tue Feb 19, 2019 1:51 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH 19.01: Recycling Deleted Records
- Replies: 6
- Views: 1757
FWH 19.01: Recycling Deleted Records
... 1: Depending on the setting of FW_SetRecycleDeleted(), a deleted record that can be locked is located. If found, the record is locked, data is erased, the record is RECALLed and the record number is returned.
Step-2: If not, attempts to append a new record by trying 4 times at an interval of 0 ...
Step-2: If not, attempts to append a new record by trying 4 times at an interval of 0 ...
- Thu Feb 14, 2019 1:38 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: CreateIndex does not erase temporary files
- Replies: 1
- Views: 756
Re: CreateIndex does not erase temporary files
Temporary (memory) indexes are automatically erased by the system. We need not manually delete them.
The real problem here is that there is a bug in the method CreateIndex(...) of TDatabase. Though you wanted to create Memory Index, the method is creating it is a normal index on the disk due to this ...
The real problem here is that there is a bug in the method CreateIndex(...) of TDatabase. Though you wanted to create Memory Index, the method is creating it is a normal index on the disk due to this ...
- Wed Feb 13, 2019 8:07 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: CreateIndex does not erase temporary files
- Replies: 1
- Views: 756
CreateIndex does not erase temporary files
... 41; oDbfG:CreateIndex( nil,"BornNum", "DTOS(animals->Born) + animals->number" , nil, nil,.T.)...
Since the temporary index file is not erased at the end of the process, I forced it by adding the following code to erase it manually:
//1st function USE Clients Alias clients SHARED NEW ...
Since the temporary index file is not erased at the end of the process, I forced it by adding the following code to erase it manually:
//1st function USE Clients Alias clients SHARED NEW ...
- Sat Jan 26, 2019 9:23 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: trying with tdatabase
- Replies: 34
- Views: 6549
Re: trying with tdatabase
... there are some fields that need special save
then I'm used to loading the example fields into variables:
cName: = CU-> First
CCognome: CU => Last
and then to treat them in the dialog
example
@ 10.10 get aGet [1] var cName
and then to save them
Replace cu-> First with cName
But James erased all
then I'm used to loading the example fields into variables:
cName: = CU-> First
CCognome: CU => Last
and then to treat them in the dialog
example
@ 10.10 get aGet [1] var cName
and then to save them
Replace cu-> First with cName
But James erased all
- Thu Jan 17, 2019 12:27 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Simulate drag & drop on buttons for tablet
- Replies: 0
- Views: 434
Simulate drag & drop on buttons for tablet
... I can Have the possibility to use a mouse
I made this sample test
on oLbx must be allways 4 records and 5 columns
on olbx2 the items can be erased ( but not added to olbx)
With the mouse run perfectly
the button aBtnDropBrw[1] "Drop in"" run
the button aBtnDropBrw[2] "Drop out"" run bad ...
I made this sample test
on oLbx must be allways 4 records and 5 columns
on olbx2 the items can be erased ( but not added to olbx)
With the mouse run perfectly
the button aBtnDropBrw[1] "Drop in"" run
the button aBtnDropBrw[2] "Drop out"" run bad ...