Hi,
I'm using the following label in a report:
#day#-#month#-#year#
but it is rendered as:
24-#month#-#year#
i.e. apparently only the first hash is translated.
Changing the order of variables doesn't impact.
Thank you
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
day, month, year hash in report label
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: day, month, year hash in report label
Hi,
A possible reason why the placeholders for "#month#" and "#year#" are not being replaced in your nubuilder report could be related to the width of the label.
If the width of the label is not sufficient to display the entire label on a single line, the label may be split into multiple lines. In this case, if the placeholder for "#year#" appears on a second line (i.e. after a line break), nubuilder may not be able to correctly identify the placeholder and replace it with the current year (it's possibly a bug)
To resolve this issue, you can try increasing the width of the label to ensure that it can be displayed on a single line
A possible reason why the placeholders for "#month#" and "#year#" are not being replaced in your nubuilder report could be related to the width of the label.
If the width of the label is not sufficient to display the entire label on a single line, the label may be split into multiple lines. In this case, if the placeholder for "#year#" appears on a second line (i.e. after a line break), nubuilder may not be able to correctly identify the placeholder and replace it with the current year (it's possibly a bug)
To resolve this issue, you can try increasing the width of the label to ensure that it can be displayed on a single line
-
- Posts: 64
- Joined: Sun Jan 22, 2023 7:03 pm
Re: day, month, year hash in report label
Increasing the label's width solved the issue. But this looks like a (very low priority) bug, in my opinion.
Thank you again, I'm starting to love nuBuilder.
Thank you again, I'm starting to love nuBuilder.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: day, month, year hash in report label
I have located the section of the code that is accountable for this behavior. I'll try to fix it when time permits