NVM. Apparently I have to send an array as an argument. Odd, it seems like it 
ought to create a new record with its own array structure. 

Bob S


> On Dec 15, 2023, at 8:44 AM, Bob Sneidar <bobsnei...@iotecdigital.com> wrote:
> 
> 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
> 

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
  • addData in Datagrids Bob Sneidar via use-livecode
    • Re: addData in Datagrids Bob Sneidar via use-livecode

Reply via email to