no such object
Jan Schenkel
janschenkel at yahoo.com
Mon Feb 2 16:11:13 EST 2004
--- hershrev <hershbp at realtorsgroup.us> wrote:
> I got that but the Ip add varies from time to time.
> Is there a way to
> send a message in a stack from a different stack ?
> Thanks hershrev
>
Yes there is, and the command is called 'send' :
--
send "someMessage" to stack "Foobar"
--
But if you're trying to trigger a handler in your
mainstack, you may as well just use the handlername --
the message path goes through the mainstack.
So in your case, you could add a handler to your
mainstack script :
--
on UpdateDB_IPAddress pNewAddress
put pNewAddress into field "IPAddress" of me
end UpdateDB_IPAddress
--
And then from any of your substacks, you can do
something like :
--
UpdateDB_IPAddress "the.new.host"
--
Hope this helped,
Jan Schenkel.
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
More information about the use-livecode
mailing list