Problem copying from DG1 to DG5
Posted: Thu Feb 15, 2024 12:53 pm
Hi all,
I'm using the following code but without success. Any ideas why ?
I'm using the following code but without success. Any ideas why ?
Code: Select all
put the dgNumberOfLines of grp "datagrid 1" into tLines
set the dgHilitedLines of grp "datagrid 1" to tLines
put the dgHilitedLines of group "datagrid 1" into theLine#hilite the last line
put the dgDataOfLine[theLine] of group "datagrid 1" into theDataA
put theDataA into fld "arraydata2"#to ensure data has been actioned(copied) - NOT copied
put false into firstLineContainsColumnNames
dispatch "addline" to grp "datagrid 5" with theDataA