On Feb 25, 2005, at 1:03 AM, Scott Rossi wrote:
Recently, Mark Swindell wrote:
What would the correct syntax be to achieve the following...
I have a section of formatted text in a field on card 2 that I want exported to another field on card 1. The line I want to execute is something like the following:
set the htmlText of field "originalText" of cd 1 to value(linesToShow)
...where linesToShow = (line 2 to 10 of field 1 of cd 2)
put the HTMLtext of line 2 to 10 of fld 1 of cd 2 into tData set the HTMLtext of fld "originalText" of cd 1 to tData
Can this same thing be accomplished without naming the chunk explicitly, as in... the HTMLText of value(linesToShow)...? (That didn't seem to work, which is why I asked the list.)
If I understand you correctly, you could do it like this:
put "line 2 to 10 of field 1 of cd 2" into linesToShow set the HTMLtext of fld "originalText" of cd 1 to \ the HTMLtext of linesToShow
Scott,
Yes, you understood perfectly. That line does exactly what I wanted. Thank you.
Mark
_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
