Create a Card in an other Stack
Mark Smith
mark at maseurope.net
Thu Oct 6 08:58:00 EDT 2005
Perhaps you need to set the data stack as the defaultStack before
sending the command?
put the defaultStack into oldDefStack -- save the current
defaultStack setting
set the defaultStack to dataStack
send "create card" to stack dataStack
--do whatever else needs doing
set the defaultStack to oldDefStack -- restore the defaultStack setting
Does this help?
Mark
On 6 Oct 2005, at 09:07, Todd Geist wrote:
> Hello,
>
> I have ui Stack and a data stack.
>
> I want to create a new Card in my Data stack from the UI Stack, so
> I can
> store a new record on a new Card in the Data Stack.
>
> I can't figure out how to make it work. I tried using send to
> trigger a
> handler in the data stack but that doesn't seem to work.
>
> What am i not understanding about this?
>
> Thanks
>
> Todd
>
> --
>
> Todd Geist
> ______________________________________
> g e i s t i n t e r a c t i v e
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list