copy field to stack of unknown name

Bob Hartley rev at armbase.com
Sat Feb 12 10:28:29 EST 2005


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"
end mouseUp

Any ideas?


All the best
Bob; Sunny Scotland
   


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005




More information about the use-livecode mailing list