ilona Posted January 22, 2014 Share Posted January 22, 2014 Hello! Does anyone know if there is an FP rule that replaces text in a text frame? Here is what I'm trying to accomplish: op1=Field("xyz"); if (op1!="") { FindTextFrame("abc").value=op1; } I was hoping that the above would replace the "value"(the actual text) in the frame with whatever is in op1, but it doesn't... I wonder what the "value" property of a text frame is then... I can't use a simple return statement. This rule is in onRecordStart, and it's more complex than the above, but it's essentially what I need. Any ideas? Quote Link to comment Share on other sites More sharing options...
step Posted January 22, 2014 Share Posted January 22, 2014 Sure. You just need to tweak your syntax a little: if (op1!="") { FindTextFrame("abc").content = op1; } Quote Link to comment Share on other sites More sharing options...
ilona Posted January 22, 2014 Author Share Posted January 22, 2014 That was it... Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.