Search found 61 matches: deletion

Return to advanced search

Re: show DELETED Record in XBROWSE

... the Record is deleted() Otherwise, the record is deleted without any message. If SET DELETED IS ON, deleted records are not displayed and after deletion, the deleted record goes out sight. If SET DELETED IS OFF, all deleted records appear and even after deletion, the record still appears . We ...
by nageswaragunupudi
Fri May 26, 2023 3:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: show DELETED Record in XBROWSE
Replies: 11
Views: 472

Re: File Deletion problem

I don't think fclose() does anything since it requires a file handle, not a filename
by hua
Wed Jan 04, 2023 2:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: File Deletion problem
Replies: 8
Views: 742

Re: File Deletion problem RESOLVED

... and then found cTxtFile actually was missing the .txt extension. That was included for the upload as variable cUpFile. Switching to that, the deletion occured. Thanks for the ideas. I have left the SysWait and FCLOSE functions in place to make the process more stable.
by TimStone
Tue Jan 03, 2023 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: File Deletion problem
Replies: 8
Views: 742

Re: File Deletion problem

Try also with SysWait().
by Enrico Maria Giordano
Tue Jan 03, 2023 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: File Deletion problem
Replies: 8
Views: 742

Re: File Deletion problem

A pause is required to allow windows time to finish writing and closing the text file.
I am just not sure whether one should use sysrefresh(), sleep() or some other function
by hua
Tue Jan 03, 2023 3:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: File Deletion problem
Replies: 8
Views: 742

Re: File Deletion problem

Try this:

Code: Select all  Expand view

#Include "Directry.ch"

   DELETEFILE( "FILE.TXT" )
 


Regards, saludos.
by karinha
Mon Jan 02, 2023 4:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: File Deletion problem
Replies: 8
Views: 742

Re: File Deletion problem

... the file. Probably the file is still in use at the time you try to delete it. Can I see the full code from the creation of the file up to its deletion, in particular the upload section?
by Enrico Maria Giordano
Mon Jan 02, 2023 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: File Deletion problem
Replies: 8
Views: 742

Re: File Deletion problem

hi Tim, Thoughts on why this would not erase the file. i guess you talk about Network using SMB-2 all Function which create a "Temporary" File will "hold" it in "Cache" read about "SMB2 Client Redirector Caches" https://learn.microsoft.com/en-us/pr...
by Jimmy
Mon Jan 02, 2023 2:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: File Deletion problem
Replies: 8
Views: 742

Re: File Deletion problem

Hi friend.

Can you try ..

Fclose (cTxtfile)

Before érase.

Regards

José

Enviado desde mi Lenovo TB-J606F mediante Tapatalk
by jvtecheto
Mon Jan 02, 2023 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: File Deletion problem
Replies: 8
Views: 742

File Deletion problem

The task is to export the contents of a file ( ewocfx ) to a .txt file, transmit the .txt file, and then delete it. This code creates the .txt file:     DbSelectArea( 0 )    USE (   "ewocfx" )    COPY TO (cTxtFile) FIELDS  Eve...
by TimStone
Mon Jan 02, 2023 1:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: File Deletion problem
Replies: 8
Views: 742

Request easy test

... sample folder but I not understood how init I'd like to have an easy program with an archive with two fields and have the insertion, modification, deletion, search for a record just as Charles had originally done with fwppc (Clients.prg) only in this way I could also help by giving my contribution, ...
by Silvio.Falconi
Thu Nov 07, 2019 9:12 am
 
Forum: mod_harbour
Topic: Request easy test
Replies: 2
Views: 474

Re: To James Bott - Error Using TData

Silvio, Hmm. I am guessing the islock is a fieldname and only some records are blocked from deletion? I'm not sure this is sufficient. If ANY record is connected to any other record, then it cannot be deleted without consequences. Thus if any service is deleted and it ...
by Silvio.Falconi
Wed May 29, 2019 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 5116

Re: To James Bott - Error Using TData

Silvio, Hmm. I am guessing the islock is a fieldname and only some records are blocked from deletion? I'm not sure this is sufficient. If ANY record is connected to any other record, then it cannot be deleted without consequences. Thus if any service is deleted and it ...
by James Bott
Wed May 29, 2019 4:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 5116

Re: To Nages : Explain me how I must make this tdatabase

... who operates in front of a terminal can not wait for the window to be refreshed to view the beach because the archive has become large due to deletion. Again this is a problem you have to solve now becuase you are making a multi-user app. This is not related to using database objects. And ...
by Silvio.Falconi
Wed Mar 06, 2019 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Explain me how I must make this tdatabase
Replies: 18
Views: 3313

Re: To Nages : Explain me how I must make this tdatabase

... who operates in front of a terminal can not wait for the window to be refreshed to view the beach because the archive has become large due to deletion. Again this is a problem you have to solve now becuase you are making a multi-user app. This is not related to using database objects. And ...
by James Bott
Tue Mar 05, 2019 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Explain me how I must make this tdatabase
Replies: 18
Views: 3313
Next

Return to advanced search