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
- Code: Select all Expand view RUN
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. )
but this paste the record at the end of oBrw:aArrayData, How I can to insert all aCopy between two rows