rename field after insertion
bob at armbase.com
Wed Jul 14 16:53:50 CDT 2004
At 18:48 12/07/2004 -0700, you wrote:
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:
> 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"
> set the name of the last field to "TxA"&curNum
>Do you Yahoo!?
>New and Improved Yahoo! Mail - 100MB free storage!
>use-revolution mailing list
>use-revolution at lists.runrev.com
More information about the use-livecode