copy field to stack of unknown name

Klaus Major klaus at major-k.de
Sat Feb 12 10:31:31 EST 2005


Hi Bob,

> Hi All.
>
> I have a wee database designer app for my students "Armbase Database 
> Designer". I would like to copy a field from my master database to the 
> new database. The new database is named by the student so I don't know 
> the name.
>
> Therefor I cant use
> on mouseUp
>   copy field "TextField" of stack "Armbase Database Designer" to card 
> 1 of stack "MyDatabase.abd"
> end mouseUp
>
> I thought of putting the file name of the stack into a variable 
> tStackName and using the command
> on mouseUp
   copy field "TextField" of stack "Armbase Database Designer" to card 1 
of stack tStackName
## leave the quotes and that should work fine :-)
> end mouseUp
>
> Any ideas?

A variable will do.

> All the best
> Bob; Sunny Scotland

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list