Page 2 of 2

Re: Data Grid Parsing

Posted: Fri Jun 28, 2013 1:32 am
by buchacho

Code: Select all

 put the dgData of group "GeneralTableGrid" into GeneralTableGridArray
answer the num of keys of GeneralTableGridArray
error: button "Generate new Table #2 items": execution error at line 8 (Chunk: can't find object), char 19

Re: Data Grid Parsing

Posted: Fri Jun 28, 2013 1:18 pm
by Klaus
buchacho wrote:error: button "Generate new Table #2 items": execution error at line 8 (Chunk: can't find object), char 19
Make sure that group is on the current card when the script executes or use a DESCRIPTOR:
...
put the dgData of group "GeneralTableGrid" OF CD "XYZ" into GeneralTableGridArray
...

Re: Data Grid Parsing

Posted: Tue Jul 09, 2013 12:48 am
by buchacho

Re: Data Grid Parsing

Posted: Tue Jul 09, 2013 12:21 pm
by Klaus
buchacho wrote:That syntax has issues: http://ftp.runrev.com/forums/viewtopic. ... 849#p68883
Which one?

Re: Data Grid Parsing

Posted: Tue Jul 09, 2013 5:59 pm
by buchacho

Code: Select all

the num of keys of GeneralTableGridArray
It needs to be more like this (as found in the thread I linked):

Code: Select all

put the keys of theDataGridArray into tKeys
put the num of lines of tKeys into tNumberOfKeys
Thanks!

Re: Data Grid Parsing

Posted: Tue Jul 09, 2013 6:10 pm
by Klaus
Ah, I see, and it was even my code... 8-)

:-D