Hi,
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
is:
on mouseUp
"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"
end mouseUp
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...
Scott
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution