Report Writer Series: Toolbox Tips

I’m a bit behind in my blogging lately, time to catch up a little bit!  Today I’m digging into some of the lesser-used items on the toolbox, and finishing this topic up next week.  How can I tell these tools are not used much?  The answer is simple: I’ve seen a lot of ugly reports – fields formatted poorly or not lined up with the header fields they match up to, etc.

I do cringe when I see simple things like a block of address fields (for instance) not aligned, when there are tools there for you to eliminate this issue forever.

So far, I’ve gone through a number of things relating to Report Writer, most of which are aimed at an audience of new Report Writer users.  This is likely the last two posts of the “starter” topics that I plan to cover unless something interesting comes up!  There are lots of blogs out there on FAR more advanced topics, which I will point people to shortly, instead of re-inventing the wheel and writing articles on topics already out there.

Today’s Focus

Most of this article is focused on two areas: the Arrange tab of the toolbox, and then next article will be some notes on Drawing Options.

The “Arrange” tools

There are a few tools on this tab.  If you can’t find it, it is the second tab on the toolbox when you are in the Layout view of Report Writer. CTRL+B opens the toolbox if you have closed it inadvertently.  By default you always see the Layout tab which contains the fields & tables, plus the most common toolbox items like shapes and text.


Aligning Fields

First, alignment… it’s not an exaggeration to say I use these four tools ALL THE TIME.  It is a rare day if I am modifying a report, that I don’t have to use this to line something up to another field.

What is it for?  Lining up two or more fields together along one of their “sides”.  There are four types, aligning left edges, right edges, top edges or bottom edges.  Note: This does not affect the “alignment” of the text within a field, which is what I refer to as “justification”.  To alter that requires editing the properties of a text field itself in Drawing Options or applying a format in Report Field Options.  More on this later…

How to use it?  First, select two or more fields, using the CTRL key to select multiple text objects.  Second, click on the Align field of choice, which will align all of the selected fields to the left/right/top/bottom-most object you selected.  In other words, if I am trying to line up four fields that are the titles of some data, I might use the Top or Bottom align to ensure they are on the same horizontal plane.  If I have moved some data fields, I might use the Left or Right align tools to line up the title fields to the data fields below.  Since there are often title fields in the Page Header (PH) and Report Header (RH) this makes those little tweaks a little easier.

Unlike other report writing tools, the Align features are all based on the left/right/top/bottom-most field of your selection, and the order in which you select your fields does not matter.  In some other tools, the Align is based on the first or last field you have selected, which does not apply here.

Re-sizing Fields

The Size tools are useful in a few circumstances.  Typically I use these tools if there are fields where the default size is too big to fit on the report.  Often currency fields are very wide, and may not need to be that big.  Making them a little smaller width-wise, may allow you to fit more information on a page, or improve the readability of a report.

What is it for?  Making two or more fields the same size, either by height or width, OR resetting a field to it’s default size based on the font size it is.

How to use it?  Similar to the above Align tools, the first step is select two or more fields.  Then, click on whichever Size tool you wish to perform.  If you hover your mouse over the buttons, a tool-tip will display to show you what each one means.  Each tool will resize based on the size of the smallest/largest/tallest/shortest field you select.  In other words, if you are resizing to make fields the same size width wise, first determine if you want them smaller to match the least-wide field you chose, or wider, to match the widest field you chose.

Similarly to the Align tools, it does not matter which order you select your fields in, as it re-sizes based on the smallest/largest/tallest/shortest field you select.

The “resize to default” option, the middle button of the Size tools, is useful if you have changed font sizes but the field did not automatically resize itself.  In Drawing Options, when you change a font size or style, there is a tickbox called “Resize To Default”.  If that is unchecked, the field size itself says the same, and the text is resized.  Why does this matter?  Well, it doesn’t really, depending on the change but a properly sized field to the text within it is easier to align with other fields.  Sometimes if you increased the size of a font, and didn’t allow Resize To Deafult, when you print the report you will see the text is cut off.  So, this option is there to quickly and easily resize it without having to change the font size or style.  Simply select a field, and click the middle button on the Size palette, and it will be resized.

Tiling Fields

This tools is the hardest to explain, and I haven’t used it often.  However there are times when it really is useful to quickly space items out, in a columnar type of report layout for instance.

What is it for?  This is used to space fields out by a certain number of characters, either horizontally or vertically.

How to use it?  Again, select two or more fields.  Next, type in the amount of space between the fields you want to have, with zero being “no space between the fields”.  Then, click on the appropriate align button to space things out horizontally or vertically.  For instance, let’s say you have a report with five “columns” of information all dollar fields, all approximately similarly sized bits of data in them.  They don’t look right on the page right now and you want to try to space them out evenly.  Select all of those fields, and play with the Space value to get them spaced out correctly.  A tip: the fields say multi-selected when you use this tool, and often it is a guessing game to get the right spacing value.  I’m often putting a number in, clicking on (in this example) Tile Horizontally, and seeing the results, changing the number, clicking it again, etc. until I find the right value for my spacing needs.

Hopefully that helps some users out there!  Next report writer post will be about Drawing Options and wrapping up the series…

(originally posted on, and migrated to this site in October 2017)

3 thoughts on “Report Writer Series: Toolbox Tips

  1. Reply
    Kimberley Stevens - April 28, 2011

    Thanks for posting this. 

    I have a client who is finding that there’s way too much information on the posting journals and edit reports.  It sounds like you’ve made this type of edits more than once, so I thought I’d bounce a couple of questions off you. 

    On the Payables Transaction Edit List, they don’t want to see the blank lines that are left for the error messages repeated for every transaction as they literally have hundreds of transactions per batch.  They want me to delete them, but I want them to be able to see if there’s an error – especially since they’re new to GP.

    I’d like to move the group of messages to the end of the voucher info if that’s possible (after Tax Detail Distributions – the end of the body).  I tried to create a voucher footer field and put them in there, but I got an error.  Is this possible?  Maybe I just did something wrong.  I was hoping to add a calculated field that checks whether any of the error messages are populated, and this would allow me to suppress the footer if it’s blank. 

    If I do have to include all of the lines, I’d like to try to fit them side-by-side so they only take up two or three lines per transaction instead of five, but I’m not sure what the longest possible error message would be.  Any idea?

    Is adding the error fields to the PM_Journal_Distributions table an option in order to have them print as part of the body? 

    On the topic of that table and the body of the report, is it possible (of course it’s possible) to remove the Tax Detail Distributions lines?  Would that negatively impact other reports or functionality?  I believe that table is used elsewhere, but I’m not sure the best way of figuring this out.  I quickly tried to map it out, but didn’t get anything useful.

    I’ve done extensive work in Dynamics SL, but GP is relatively new to me, so I really appreciate whatever help you can provide. 

    Thanks and have a great day!

    1. Jen Kuntz - April 28, 2011

      Hi Kimberley,

      On the PM Trx Edit List, the error messages on the lines are unique to each voucher so they cannot be moved to the bottom.  They shouldn’t repeat on every transaction unless they literally make the same error on every transaction (or something like fiscal period being closed may repeat).  Definitely don’t delete them, you’re on the right track there or there is no way (sometimes) to otherwise see what the issue is as some issues don’t appear on screen.

      What I normally do is try to put messages on the same line (side by side, not stacked) and I also try to move them up right beside something else, no blank line/row between it and the preceding information – however, I usually bold the text or something to make it stand out if there are errors, so it doesn’t get missed because it had no white space around it.  I’m going to email you a screen shot before and after to show you what I mean.

      The only issue you mention is with length of the msg but I do shorted them as much as I need to in order to fit them in… they will still see the majority of the error msg in most cases.

      On the topic of the tax detail distribution lines, they are part of the Body section which is also the regular distribution lines so you will see in the report those fields are not listed separately to remove or hide.  I would check partnersource on that, there may be an existing KB article on how to remove them – common questions like that often have an existing “how to” article in the knowledgebase.

      Hope that helps!

  2. Reply
    Tom - April 30, 2012

    This series has been very helpful.  Are you going to follow up with the promised post about Drawing Options and wrapping up the series?  I realize it’s been more than a year since the last installment on Report Writer.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to top