DataGrid Question

Chris Wood chris_wood at gmx.com
Mon Oct 26 21:55:27 EDT 2009


Trevor,

That is excellent, its cut the code I was using inhalf (and I learnt about
the dispatch command)!


<code>
   put "" into theNewRecord["First"]
   put "" into theNewRecord["Last"]
   put "" into theNewRecord["DOB"]
   put "" into theNewRecord["Age"]
   
   put 1 into theLineNo
   dispatch "AddData" to Group "dataGrid 1" with theNewRecord, theLineNo
   
--Select the first cell to start editing
   dispatch "EditCell" to Group "dataGrid 1" with  "First", theLineNo
   
<\code>

Regards

Chris

-- 
View this message in context: http://www.nabble.com/DataGrid-Question-tp26028143p26070937.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list