I have an array of 32 fields that I process with xbrowse.
I need to insert a record between two rows
the first field must be "codsep" field
how can I do ?
TO paste an record of oBrw:aArrayData I use an array aCopy where I save the row Copied (oBrw:aselected) and I use these commands
but this paste the record at the end of oBrw:aArrayData, How I can to insert all aCopy between two rows
I need to insert a record between two rows
the first field must be "codsep" field
how can I do ?
TO paste an record of oBrw:aArrayData I use an array aCopy where I save the row Copied (oBrw:aselected) and I use these commands
oBrw:Lock()
For n=1 to Len(acopy)
aCopy[n][1] := codsep
aCopy[n][32] := 0
aadd( oBrw:aArrayData, aCopy[n] )
Next
oBrw:Unlock( .t. )Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 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
I use : FiveWin for Harbour March-April 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