Type a tab character in place of the space.
Then set up a tab stop that is right aligned on the right hand limit of the space in which you want to print this data.
Or set Field 1 to the very left and set its text to be left alligned, and the Field 2 to the very right of the label and set it to be right aligned?
Thanks for your responses. I cannot set field 1 to be left aligned and field 2 to be right alighed, as the text alignment affects the entire line of text?
PhilModJunk, I tried setting up a tab stop that is right aligned on the right hand limit of the space in which I want to print this data, but it right aligns the end of the text header I have for the field, cutting off the actual field data. As in, 'Date:' is right aligned, but <<Spec::Date>> is now off the print area.
Am I missing something?
Thanks as always,
I cannot set field 1 to be left aligned and field 2 to be right aligned
You can do this if you use two separate fields instead of a single line of text with merge fields in it.
I tried setting up a tab stop
Make the text header a separate block of layout text so that it is not part of this tab setting. Then set the tab for the remaining block of merge fields.
Sorry, but what do you mean use two separate fields instead of a single line of text with merge fields in it?
I do not think I can make the text header a separate block of layout text, as this line is a part of a larger text body, that slides depending on the information present. If I made it separate, wouldn't that mean it would not always align accordingly? It looks like this:
<<Spec::L_Latitude>> <<Spec::L_Longitude>><<Spec::L_Grid Ref>>
Collection No.: <<Spec::Number>> Date: <<Spec::Date>> (this is the line I am working on)
Determined by: <<Spec::Determined by>>
I tried to re-write this line, and it worked fine with no text formatting, aligning the text header & field to the right. However, once I bolded the 'Date:' text header, it again aligned with only the text header, not text header & field. Weird?
I tried creating a <<Spec::L_Date>> field, that was a calculation including the field header. It aligned properly in layout mode, but once I switched to browse mode it again aligned with the text header.
You can break the above text into two parts. or even more by using object sliding, but now that I have a more complete understanding of what you have, I don't think that this is necessary. When you change some text from plain to bold, it now is wider than before. This could prevent the results you want in one of two ways: 1) It could move the tab character to the right of the specified tab stop position or 2) It could make the entire line of text too wide to fit on one line with the right justification.
There's no way I can tell from here which might be the case.
It looks like any change to the text is causing the problem. After setting up the tab and it working fine in plain-text, I tried making the text size smaller - same problem. Even with just changing the text colour!
There is something weird going on here, because when it jumps to the right, there are spaces in between Number & Date - when I hit backspace it does not remove these spaces, but deletes from where the tab stop is inserted. Again weird.
I'm at a loss - at this point I think I may just need to admit defeat!
Thanks for all your help,
Can you see the cursor when you hit backspace? A tab does not insert any space characters, so pressing backspace will either delete the invisible tab character or any other text to immediate left of the cursor. Since there is a right justify tab in place, deleting other text to the right of the tab character can produce the change you report here as the remaining text will slide to the right to be right justified to the position of the tab stop.
You are correct that many different text styles can change the horizontal space taken up by the text and this can affect whether the tab correctly positions the text where you want it.