rename field after insertion
Rosli Hassan
docrosli at yahoo.com
Mon Jul 12 21:48:18 EDT 2004
hi bob,
here is one way you can do this. nothing fancy, but
should work. in this example, you will need an extra
field "counter". you need to initialize the curNum in
field "counter" somehow somewhere (openStack, or
openCard, or somewhere...) and set it to 1.
the button script:
on mouseUp
put field "counter" into curNum
put curNum + 1 into curNum
put curNum into field "counter"
copy field 1
go to stack "stackToGoTo"
paste
set the name of the last field to "TxA"&curNum
end mouseUp
rosli.
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
More information about the use-livecode
mailing list