Page 1 of 1

Is it possible to load a function for a stack from another s

Posted: Tue May 31, 2011 4:33 am
by jesse
Is it possible to load a function from one stack but into another stack?

I have a stack that will update a database record. Once I click the Save Changes button I want
to refresh the datagrid from the parent stack so the changes show up. How would I do this?
The function I need to run is resetGrid. I thought maybe something like this but it didn't
work.

Code: Select all

resetGrid of stack "Main Stack"

Re: Is it possible to load a function for a stack from another s

Posted: Tue May 31, 2011 4:53 am
by dglass
Probably need 'send'.

Re: Is it possible to load a function for a stack from another s

Posted: Tue May 31, 2011 6:28 am
by dunbarx
Hi.

Read up on the "request" command. It should do the trick.

Craig Newman

Re: Is it possible to load a function for a stack from another s

Posted: Tue May 31, 2011 12:25 pm
by BvG
you probably want either send, do, dispatch or get.

Re: Is it possible to load a function for a stack from another s

Posted: Wed Jun 01, 2011 3:00 am
by jesse
BvG,

Thanks I was able to use send. ill have to check the others to understand the difference between the two.