Page 1 of 1
Pulling Data from Data Grid in another Stack
Posted: Wed Apr 17, 2013 3:56 pm
by FinishTheCode
I am trying to pull data from a Data Grid into another stack. How do I go about doing this.
One stack contains all the settings in a DataGrid with the names of worker types etc
My other Stack wants to pull that data (worker types) into a listbox.
Re: Pulling Data from Data Grid in another Stack
Posted: Wed Apr 17, 2013 5:10 pm
by Klaus
Hi FinishTheCode,
welcome to the forum!
You can address all objects with their (long) descriptor "... OF CARD X OF STACK Y:
...
put the dgData of grp "datagrid in another stack" of cd 1 of stack "the other stack" into tNewArray
## or any other dtagrid command.
...
Is that what you mean?
Best
Klaus
Re: Pulling Data from Data Grid in another Stack
Posted: Wed Apr 17, 2013 9:45 pm
by FinishTheCode
Thanks so much
That is exactly what I am looking for.
Re: Pulling Data from Data Grid in another Stack
Posted: Thu Apr 18, 2013 3:19 pm
by FinishTheCode
After getting that into an array, how do I put it into another Data Grid?
Re: Pulling Data from Data Grid in another Stack
Posted: Thu Apr 18, 2013 4:29 pm
by snm
set the dgData of group "new DataGrid" to tPulledArray
Marek