--- Thomas J McGrath III <[EMAIL PROTECTED]> wrote: > I am trying to hide a set of text fields before the > card is opened and > then show them with a dissolve. > The fields are named myLabel1, myLabel2 etc to > myLabel8 > It don't work..... > > on preOpenCard > repeat with v = 1 to 8 > put quote & "myLabel" &v& quote into h > set the visible of Field h to false > end repeat > end preOpenCard >
Hi Tom, I think the engine is looking for a field with a quote in its name. However, this gives me a chance to work the wonders of the 'merge' function again :-) Try the following script : -- on preOpenCard repeat with v = 1 to 8 put merge("field [[quote]]myLabel[[v]][[quote]]") \ into tFieldRef set the visible of tFieldRef to false end repeat end preOpenCard -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution