Page 1 of 1

Before Print condition to move text position

Posted: Wed Jan 04, 2023 9:17 pm
by MarceloOD
Hello guys

I am trying create a condition in Before print, but it is not working ( I don't know if Before Print is the best choice for that, please, let me know).

Look at picture below, I have this Routing field (Text48), and if my part is assembly I want move 0.3 above. In the Before print you can see the condition I put.

However I noticed 2 problem:

1- Assembly that is the condition is always true. Note In the first part of report it is possible to see that I have Assembly=false printed, but the text still moving.
It seems the system is looking for the last part which really is an and considering true for all lines, I tested with only one part and it is working fine, only not work if I have any assembly.

2-If you look at the second part, is still moving, is seems se system is considering the value I put before and it is not reset the value for TEXT48.Top.

Do you have any suggestion? Thanks

Re: Before Print condition to move text position

Posted: Thu Jan 05, 2023 7:59 am
by Lech Kulikowski
Hello,

We couldn't reproduce the issue on our samples.
Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.

Re: Before Print condition to move text position

Posted: Thu Jan 05, 2023 2:04 pm
by MarceloOD
Hi, thanks for the reply.

Do you think the way I did it should work, for both questions I asked? or did you use a different syntax?

I don't know how to send an example, as it is a very large database and the Data Source is set up by an intermediary application that calls the Report directly within the application.

Thank you

Re: Before Print condition to move text position

Posted: Thu Jan 05, 2023 2:43 pm
by Lech Kulikowski
Hello,

Yes, both options should work.
Could you prepare a simple report with test data showing your report structure and logic?

Thank you.

Re: Before Print condition to move text position

Posted: Thu Jan 05, 2023 3:04 pm
by MarceloOD
Hi Lech
What kind of Data source it better for it? Excel, CVS or other?

If you have some link that explain how to do it, please share with me.

Best Regards

Re: Before Print condition to move text position

Posted: Thu Jan 05, 2023 3:52 pm
by Lech Kulikowski
Hello,

You can use the "Embed all data to resources" option in the Dictionary - Action.

Thank you.

Re: Before Print condition to move text position

Posted: Thu Jan 05, 2023 9:48 pm
by MarceloOD
Unfortunately my system doesn't have that option :(

Re: Before Print condition to move text position

Posted: Thu Jan 05, 2023 10:16 pm
by Lech Kulikowski
Hello,

In that version, that option is not available.

Thank you.