Grid & Scrolling Field
scott at cdroo.com
Thu Nov 30 02:11:19 EST 2006
I've got the code below working nicely for a grid control and the data being
assigned to it from fields. All that is except for Scrolling List fields.
I've tried various combinations, but the scrolling list always ends up using
the returns in it as the start of a new line in the grid. Code I'm using
"NewPotSize" & Tab & fld "NumberOfDivisions" & Return into theRecfld
"RepottedDate" & Tab & fld "OldPotSize" & Tab & fld "NewPotSize" & Tab & fld
"NumberOfDivisions" & Return into theRec
put fld "RepotList" & Return into tList
put fld "RepottedDate" & Tab & fld "OldPotSize" & Tab & fld "NewPotSize" &
Tab & fld "NumberOfDivisions" & fld "RepotNotes" & Return into theRec
set the itemDel to tab
put tList & theRec into fld "RepotList"
I suspect it's the use of my return character when building the array, but I
can't seem to be able to work out a better method of inserting a new line
into the grid.
Help greatly appreciated...
More information about the Use-livecode