rename field after insertion
Bob Hartley
bob at armbase.com
Wed Jul 14 17:53:50 EDT 2004
At 18:48 12/07/2004 -0700, you wrote:
>hi bob,
Hi Rosli, Klaus, Cubist etc.
I modified this one a bit
>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.
Instead of counter I called it the same as the field. that way you can name
the number by the field
>the button script:
>
>on mouseUp
> put field "counter" into curNum
> put curNum + 1 into curNum
> put curNum into field "counter"
> copy field 1
Chenged this to TxA,b,c,d,etc for each field and it works great
> go to stack "stackToGoTo"
> paste
> set the name of the last field to "TxA"&curNum
>end mouseUp
Thanks
Bob
>rosli.
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>New and Improved Yahoo! Mail - 100MB free storage!
>http://promotions.yahoo.com/new_mail
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list