So here is what i do :
-main stack : query, calculation, and then I put the content i want to display in a global variable
-i open the substack as modal
Here is script I have in the substack :
Code: Select all
on preopencard
global gContentDG
if gContentDG is not empty and the mode of stack "mySubStack"=5 then set the dgData of group "myDG" to gContentDG
end preopencard
I've tried to play with "dispatch refreshList" or "send in with mesages"... but no luck. The point seems : you have to go to the card that contains the DG. So with a modal dialog... that's a problem.