addData in Datagrids

Bob Sneidar bobsneidar at iotecdigital.com
Fri Dec 15 11:44:25 EST 2023


Hi all. 

Datagrids have a command called addData which adds a line to the end of a datagrid. It returns the line number. 

Afterwards I ought to be able to do this”

...
Set the dghilitedIndex of me to tFoundIndex — this is a valid integer
Put the dgDataOfIndex [tFoundIndex] of me into tMyArrayA
…

HOWEVER…

tMyArrayA is empty! How can that be??? I quit Livecode and tested this in a new stack so it’s not any of my code doing ths. 

Bob S



More information about the use-livecode mailing list