Set a property
Put into a variable
Mixing these is recipe for an unhappy life
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Makes me think you have separate fields for each column, and you have ganged those fields side by side to create the whole package. That will work, but is not the best way to do this. So I ask again about using a single table field to do the job.to make each line of fields approximate to columns for the fields.
A tableField is just a normal field with the difference that it treats tab-separated-values (TSV) as spreadsheet data.
Code: Select all
Put the dgText of group “data grid” into field “myTableField”
Code: Select all
put "X" & tab & "Y" & tab & "Z" & return & "A" & tab & "B" & tab & "C" into fld "yourTableField"
Code: Select all
on mouseUp
put "X" & tab & "Y" & tab & "Z" & return & "A" & tab & "B" & tab & "C" & return & "A" & tab & "S" & tab & "D" into temp
set the itemDel to tab
repeat for each line tLine in temp
put item 2 of tLine & return after columnData
end repeat
put columnData into fld 1
end mouseUp