Re: Recursive Script

2016-10-17 Thread Bob Sneidar
I don't recall if I thanked you for this. Thank you. Bob S > On Oct 4, 2016, at 12:41 , Paul Dupuis wrote: > > Here is an example: > > function listDatagrids pObject > local dataGridList > repeat with i=1 to the number of groups of pObject >if grp i of pObject is a datagrid then -- fix

Re: Recursive Script

2016-10-04 Thread Paul Dupuis
Here is an example: function listDatagrids pObject local dataGridList repeat with i=1 to the number of groups of pObject if grp i of pObject is a datagrid then -- fix this line put whatever data on the datagrid & return after dataGridList -- fix this line else put listDataG

Recursive Script

2016-10-04 Thread Bob Sneidar
Hi all. Some time back someone had the need to enumerate every datagrid on a card even if the datagrids were themselves grouped with other objects. I cannot now find that thread, or any stack treating the issue in my downloads folder. It would involve recursion because the groupnames is a prop