Re: To Nages : delete records - Resolved !!!

Re: To Nages : delete records - Resolved !!!

Postby Silvio.Falconi » Wed Jun 23, 2021 7:53 am

If I delete a record on aData then I must save the aData on dbf

from yunus.prg I saw there is
//FW_ArrayToDBF( aData, cFieldList, bProgress, lOverWrite, lRecallDeleted, bTrigger )
Code: Select all  Expand view  RUN

if ! Empty( oBrw:aDeleted )
            AEval( oBrw:aDeleted, { |a| a[ 9 ] := -a[ 9 ] } )
            IIT->( FW_SaveArrayToDBF( cItemFlds, oBrw:aDeleted ) )
         endif


I tried on Tdatabase with

if ! Empty( oBrowse:aDeleted )
AEval( oBrowse:aDeleted, { |a| a[ 19 ] := -a[19 ] } )
oRigheInvoice:ArrayToDBF(oBrowse:aDeleted, cItemFlds )
endif

but not run ok

How I can to delete the records on dbf , are on oBrowse:adeleted?
Last edited by Silvio.Falconi on Wed Jun 23, 2021 8:52 am, edited 1 time in total.
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: 7072
Joined: Thu Oct 18, 2012 7:17 pm

Re: To Nages : delete records - Resolved !!!

Postby Silvio.Falconi » Wed Jun 23, 2021 8:52 am

Resolved !!!
run ok Good
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: 7072
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 42 guests