Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We have an application that is doing calculations in a text object. Is there a way to get the data from that text object and use it in another text object?
Thanks.
Hi,
Yes you can use text object values in another text object by using Macro and variable.
Take one variable to store text object values buy using macro
and text object propery GetText Property
ex. Variable_name = TextObjectName.GetText
and then you can use Variable_name value in onther text box
Hope this will help you
Rahul
Coudn't you just use the code from the first Text Object in the second Text Object with any changes you require. Clean up the code by using variables.
I know it isn't the most efficient solution, but it is what I would do (Probably because I don't know any better - I would love to see if there is an easier solution. Might help with some Text Objects I have in some reports).
Hi,
Yes you can use text object values in another text object by using Macro and variable.
Take one variable to store text object values buy using macro
and text object propery GetText Property
ex. Variable_name = TextObjectName.GetText
and then you can use Variable_name value in onther text box
Hope this will help you
Rahul
OK, thanks. I haven't done much with macros yet, but will give it a try.
how about to another object, like from text object to chart or table objects? Do you have some example application for this? thanks in advnace
I made a simple sample application, but this application starts with a variable (which you can set in the load script) and then derives information from it...
this looks easier to me than playing with macro's (although the code might be a bit complicated)
ok reading your question better this might not at all be what you're looking for, but it's still pretty cool, no? 🙂