What is the correct way to align text in Filemaker (6 pro)? We are having
lots of fun in WinXP trying to get text that has been entered in a text box
and aligned in a table format to print out as it looks on screen. Tabs don't
seem to work and spaces are a little better but still misalign wildly. At
the moment we are having to print to PDF then insert white dots (as Acrobat
seems to go mental too when adding a space [it jumps about 3 tabs worth of
space or more sometimes]).
This is an example of what we are doing:
text text text text text text text text text text text text text text text
text
text text text text text text text text text text text text text text text
text
Column Heading 2nd Column Heading
34 34
54 67
text text text text text text text text text text text text text text text
text
text text text text text text text text text text text text text text text
text
etc...
but it comes out like this whether we use spaces or tabs:
text text text text text text text text text text text text text text text
text
text text text text text text text text text text text text text text text
text
Column Heading 2nd Column Heading
34
34
54 67
text text text text text text text text text text text text text text text
text
text text text text text text text text text text text text text text text
text
i.e. all of the place and not just a little bit either. Any ideas?
|
|
0
|
|
|
|
Reply
|
nospam
|
7/20/2004 10:06:56 AM |
|
Sorry - it should have come out like:
This is an example of what we are doing:
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
Column Heading 2nd Column Heading
34 34
54 67
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
etc...
but it comes out like this whether we use spaces or tabs:
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
Column Heading 2nd Column Heading
34 34
54 67
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text
|
|
0
|
|
|
|
Reply
|
nospam
|
7/20/2004 10:08:56 AM
|
|
nospam <nospam@nospam.com> wrote:
> (snip)
>
> Tabs don't seem to work
>
> (snip)
What do you mean by this? In my copy of FM they work.
--
Henk B
|
|
0
|
|
|
|
Reply
|
henk
|
7/20/2004 10:27:35 AM
|
|
> What do you mean by this? In my copy of FM they work.
Well, I've just tried putting tabs at every point in the line where white
space is used instead of mixtures of spaces and tabs, thus:
text text text text text text text text text text
tab heading tab tab heading
tab number tab tab number
tab number tab tab number
text text text text text text text text text text
....which works fine except that everything is left aligned to the heading,
instead of centred under the heading. When spaces (any number) are added
before the number to centre it, it all goes wrong.
|
|
0
|
|
|
|
Reply
|
nospam
|
7/20/2004 11:59:23 AM
|
|
In article <1gh82is.fdh4ca1jez3fkN%henk.invalid@address.invalid>,
henk.invalid@address.invalid (Henk B) wrote:
>nospam <nospam@nospam.com> wrote:
>
>> (snip)
>>
>> Tabs don't seem to work
>>
>> (snip)
>
>What do you mean by this? In my copy of FM they work.
>
I'm having a similar problem. Tabs work, but they don't easily copy
and/or export. What I'm trying to set up is an order confirmation email
generated and mailed out of FM. This involves including in the body a
horizontal string of text and number fields (item name, price, price
extension, etc.) representing the current found set.
I'm building my email body with a script that fills a global field with
all the line items. One way I've tried to do this is have the script go
to a list layout that has only the fields I need, copy all records, then
return to the layout with the global email body field and paste.
This works, but each field becomes separated by a single space. Next
option is a looping script to go through my found set and set the global
field to a concatenation of field & tab & nextfield & tab, etc. The
second line would be Insert Calculated Result: global-field & paragraph
symbol & field & tab ... etc.
I have made a small global field containing one tab character I use to
build these.
I have yet to get it to the point of making an actual email to see what it
looks like, but I have my doubts about the tab character's ability to
survive the transition from FM to email. Besides, as the item description
field is pretty variable, this cause the fields that follow to tab into
areas that do not line up vertically.
I'm beginning to think I should pad out these fields with spaces instead.
I recall some discussion here a while ago about a calc that would add
trailing spaces to a variable field length to make a field that was always
exactly the same number of characters. That is, if my text is 12
characters long, it will add eight spaces to make 20. If it is four
characters, it will add 16.
Even *that* may not really work in the resulting email, as so many of
today's email clients do not display with mono-spaced fonts, so strings of
trailing spaces would squash together, breaking the fields out of vertical
alignment.
I guess I don't have a specific question, more of an indication of the
result I need, what I've tried to do, and a plea for someone who's been
here before to offer advice.
Steve Brown
|
|
0
|
|
|
|
Reply
|
eyebrown
|
7/20/2004 12:01:58 PM
|
|
nospam wrote:
> ...which works fine except that everything is left aligned to the heading,
> instead of centred under the heading. When spaces (any number) are added
> before the number to centre it, it all goes wrong.
>
Use center tabs instead of left-aligned tabs.
|
|
0
|
|
|
|
Reply
|
Kevin
|
7/20/2004 12:10:47 PM
|
|
in article 40fd090d$0$4960$afc38c87@news.easynet.co.uk, nospam at
nospam@nospam.com wrote on 7/20/04 4:59 AM:
>> What do you mean by this? In my copy of FM they work.
>
> Well, I've just tried putting tabs at every point in the line where white
> space is used instead of mixtures of spaces and tabs, thus:
>
> text text text text text text text text text text
> tab heading tab tab heading
> tab number tab tab number
> tab number tab tab number
> text text text text text text text text text text
>
> ...which works fine except that everything is left aligned to the heading,
> instead of centred under the heading. When spaces (any number) are added
> before the number to centre it, it all goes wrong.
>
>
There are two ways of setting Tabs in FileMaker. On the layout out level,
you can set them globally for the field but using the Format > Text >
Paragraph, and you can use the Turn on View Text Ruler and then Highlight
the row or rows to apply the tabs to and then as you would in a Word
Processor, click where you want the tabs. They default to Left, but if you
double click on them, you can change them to center, decimal, or right and
you can apply lead characters if you want.
HTH
Lee
|
|
0
|
|
|
|
Reply
|
Lee
|
7/20/2004 12:38:41 PM
|
|
in article BD226060.92B4%canepa6645@charter.net, Lee Smith at
canepa6645@charter.net wrote on 7/20/04 5:38 AM:
That was not very clear, let me try it again.
>
> in article 40fd090d$0$4960$afc38c87@news.easynet.co.uk, nospam at
> nospam@nospam.com wrote on 7/20/04 4:59 AM:
>
--snip--
There are two ways of setting Tabs in FileMaker.
1). In the Layout Mode, you can set them globally for the field by going to
Menu > Format > Text > Paragraph.
2). In Browse Mode, View > Text Ruler
Then go to the Field and highlight the row (or rows) you want to apply the
tabs to, and then click in the Ruler where you want the Tabs. You can change
their location by dragging them left or right and change the type by double
clicking on them (they default to Left), and then choosing center, right, or
decimal, and you can apply lead characters if you want.
HTH
Lee
|
|
0
|
|
|
|
Reply
|
Lee
|
7/20/2004 12:55:38 PM
|
|
Not sure specifically what you are trying to do, but once you add tabs
within your text, and put that text onto a layout (either as a field or
as a text block), then you need to go into tab formatting (under the
line spacing menu) and set up whatever tab stops you want and whatever
alignment you want for each tab stop.
nospam wrote:
>>What do you mean by this? In my copy of FM they work.
>
>
> Well, I've just tried putting tabs at every point in the line where white
> space is used instead of mixtures of spaces and tabs, thus:
>
> text text text text text text text text text text
> tab heading tab tab heading
> tab number tab tab number
> tab number tab tab number
> text text text text text text text text text text
>
> ...which works fine except that everything is left aligned to the heading,
> instead of centred under the heading. When spaces (any number) are added
> before the number to centre it, it all goes wrong.
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California
Associate Member, FileMaker Solutions Alliance
|
|
0
|
|
|
|
Reply
|
Howard
|
7/20/2004 4:06:44 PM
|
|
in article 40FD4314.9010306@antispahm.fmprosolutions.com, Howard Schlossberg
at howard@antispahm.fmprosolutions.com wrote on 7/20/04 9:06 AM:
Hi Howard,
Are you having trouble getting the Post today?
This is the same thing I said 3 hours ago.
Lee
> Not sure specifically what you are trying to do, but once you add tabs
> within your text, and put that text onto a layout (either as a field or
> as a text block), then you need to go into tab formatting (under the
> line spacing menu) and set up whatever tab stops you want and whatever
> alignment you want for each tab stop.
>
> nospam wrote:
>>> What do you mean by this? In my copy of FM they work.
>>
>>
>> Well, I've just tried putting tabs at every point in the line where white
>> space is used instead of mixtures of spaces and tabs, thus:
>>
>> text text text text text text text text text text
>> tab heading tab tab heading
>> tab number tab tab number
>> tab number tab tab number
>> text text text text text text text text text text
>>
>> ...which works fine except that everything is left aligned to the heading,
>> instead of centred under the heading. When spaces (any number) are added
>> before the number to centre it, it all goes wrong.
>>
>>
|
|
0
|
|
|
|
Reply
|
Lee
|
7/20/2004 4:15:40 PM
|
|
Sorry -- I just responded as I saw them -- didn't see your response til
later.
Lee Smith wrote:
> in article 40FD4314.9010306@antispahm.fmprosolutions.com, Howard Schlossberg
> at howard@antispahm.fmprosolutions.com wrote on 7/20/04 9:06 AM:
>
> Hi Howard,
>
> Are you having trouble getting the Post today?
>
> This is the same thing I said 3 hours ago.
>
> Lee
>
>
>>Not sure specifically what you are trying to do, but once you add tabs
>>within your text, and put that text onto a layout (either as a field or
>>as a text block), then you need to go into tab formatting (under the
>>line spacing menu) and set up whatever tab stops you want and whatever
>>alignment you want for each tab stop.
>>
>>nospam wrote:
>>
>>>>What do you mean by this? In my copy of FM they work.
>>>
>>>
>>>Well, I've just tried putting tabs at every point in the line where white
>>>space is used instead of mixtures of spaces and tabs, thus:
>>>
>>>text text text text text text text text text text
>>>tab heading tab tab heading
>>>tab number tab tab number
>>>tab number tab tab number
>>>text text text text text text text text text text
>>>
>>>...which works fine except that everything is left aligned to the heading,
>>>instead of centred under the heading. When spaces (any number) are added
>>>before the number to centre it, it all goes wrong.
>>>
>>>
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California
Associate Member, FileMaker Solutions Alliance
|
|
0
|
|
|
|
Reply
|
Howard
|
7/20/2004 4:39:51 PM
|
|
> Not sure specifically what you are trying to do, but once you add tabs
> within your text, and put that text onto a layout (either as a field or
> as a text block), then you need to go into tab formatting (under the
> line spacing menu) and set up whatever tab stops you want and whatever
> alignment you want for each tab stop.
Thanks guys, but the problem still persists - when we need to print to PDF,
using Acrobat where the tabs are some jump or don't move where they are
supposed to be, resulting in misalignment, its like in the PDF, the tab
characters are reassigned a spacing value which isn't the same as the
Filemaker screen display.
Print out on paper, likewise is completely different from the screen. The
same spacing as in the PDF occurs - ie not what is on the screen - I'm not
talking about a few pixels either this is like a good one and a half
centimetres out and there's no explanation as far as these tab features are
concerned...
|
|
0
|
|
|
|
Reply
|
nospam
|
7/21/2004 8:45:05 AM
|
|
eyebrown@mindspring.com wrote:
> In article <1gh82is.fdh4ca1jez3fkN%henk.invalid@address.invalid>,
> henk.invalid@address.invalid (Henk B) wrote:
>>>Tabs don't seem to work
>
> I'm having a similar problem. Tabs work, but they don't easily copy
> and/or export.
Tab characters are used as a standard field separator. You've heard of
tab delimited files or tab separated files? Because of this FMP exports
another character instead of a tab. Or so I thought - the help file for
v5.5 says:
- Tabs in fields are converted to spaces.
- Carriage return characters in a field export as ASCII 11 vertical tab
characters.
- Values in repeating fields are separated by the ASCII 29 character.
|
|
0
|
|
|
|
Reply
|
Malcolm
|
7/22/2004 3:58:11 AM
|
|
Any chance of using merge fields in separate text blocks for each individual
value? This might mean separating chunks of text within a single field into
several separate fields or even fields with related tables.
Text blocks can be made to line up very nicely as objects on a layout, and
what you see is pretty much what the printer prints.
Another (probably easier) idea: the first value from the second column
heading appears to be wrapping. Could you reduce the white space between
the left margin and first columns at all?
Bridget Eley
in article 40fceeb2$0$6383$afc38c87@news.easynet.co.uk, nospam at
nospam@nospam.com wrote on 20/7/04 8:06 PM:
> What is the correct way to align text in Filemaker (6 pro)? We are having
> lots of fun in WinXP trying to get text that has been entered in a text box
> and aligned in a table format to print out as it looks on screen. Tabs don't
> seem to work and spaces are a little better but still misalign wildly. At
> the moment we are having to print to PDF then insert white dots (as Acrobat
> seems to go mental too when adding a space [it jumps about 3 tabs worth of
> space or more sometimes]).
>
> This is an example of what we are doing:
>
> text text text text text text text text text text text text text text text
> text
> text text text text text text text text text text text text text text text
> text
> Column Heading 2nd Column Heading
> 34 34
> 54 67
> text text text text text text text text text text text text text text text
> text
> text text text text text text text text text text text text text text text
> text
> etc...
>
> but it comes out like this whether we use spaces or tabs:
>
> text text text text text text text text text text text text text text text
> text
> text text text text text text text text text text text text text text text
> text
> Column Heading 2nd Column Heading
> 34
> 34
> 54 67
> text text text text text text text text text text text text text text text
> text
> text text text text text text text text text text text text text text text
> text
>
> i.e. all of the place and not just a little bit either. Any ideas?
>
>
--
(to email direct, replace "DOT" with "." and remove ".invalid")
|
|
0
|
|
|
|
Reply
|
Bridget
|
7/22/2004 9:41:57 AM
|
|
|
13 Replies
321 Views
(page loaded in 0.556 seconds)
Similiar Articles: Spaces / Tabs in text - comp.databases.filemakerWhat is the correct way to align text in Filemaker (6 pro)? We are having lots of fun in WinXP trying to get text that has been entered in a text box ... White space in Rich Text fields on Web - comp.groupware.lotus ...A form contains a Rich Text field called "body" in which I want to build a formatted report. On one line, I want two character strings separated by five Tabs. Tab Delimited Export Includes Random Quote Marks - comp.databases ...I think quotation marks are either: - inserted for fields that have spaces or tabs in the text or - inserted for all text fields. I forget which. Replace N leading tabs with 2N spaces - comp.unix.programmer ...... off the top of your head, do you ... persist their line breaks and tabs into SQL 2005 ... to know if there is any known issue using Rich Text field ... the white space of ... Newbie question: How do I remove double spaces from a field ...Hi all! I have one text field in a table that, in some cases, contains double spaces between words. How do I replace those double spaces with a singl... find text location (in pixels) using python (pyPdf) - comp.lang ...Spaces / Tabs in text - comp.databases.filemaker but it comes out like this whether we use spaces or tabs: text text ... on the screen - I'm not talking about a few pixels ... Execute a FORMULA in text variable - comp.lang.xharbourDears, how can I execute a formula stored in a TEXT variable ? For ... variables ... execute. to get numeric values only the 0's (zeroes ... Spaces / Tabs in text ... ABCPDF Blank pdf from valid html - comp.text.pdfHow to insert bmp's in pdf - comp.text.pdf ABCPDF Blank pdf from valid html - comp.text.pdf How to insert bmp's in pdf - comp.text.pdf How to insert blank spaces - comp ... GNU Make: replace spaces with commas - comp.unix.programmer ...Spaces / Tabs in text - comp.databases.filemaker I didn't make myself clear: I want to replace only the newline (with space, comma, tab or ... ... text editor maintained ... awk behavior with tab separated file - comp.lang.awkSpaces / Tabs in text - comp.databases.filemaker awk behavior with tab separated file - comp.lang.awk If that's just space/tab separated ... what you really want are ... Awk help needed for tab delimited text file - comp.lang.awk ...- I need to parse the records to 2 new comma separated text files. ... of the file have any leading spaces that need to be stripped? Try this: awk '/A ... one tab ... carriage return, newline, and combinations - comp.lang.awk ...Spaces / Tabs in text - comp.databases.filemaker - Carriage return characters in a field export as ASCII 11 vertical tab characters. ... I didn't make myself clear: I want ... Merge Field - blank spaces? - comp.databases.filemakerSpaces / Tabs in text - comp.databases.filemaker Any chance of using merge fields in separate text blocks for each individual value? ... File ... it up such that when ... Equally Tab Spaced Columns Through sed - comp.unix.shell ...even space between columns - comp.text.tex | Computer Group Equally Tab Spaced Columns Through sed - comp.unix.shell ... even space between columns - comp.text.tex 0 ... Joining several pdf together - comp.text.pdfSpaces / Tabs in text - comp.databases.filemaker At the moment we are having to print to PDF then ... chunks of text within a single field into several separate ... awk A ... How to Replace Tabs With Spaces | eHow.comHow to Replace Tabs in Emacs With Spaces. Many programmers love Emacs, a powerful, old-fashioned text editor maintained by the open source developers of the GNU Project. Tabs, spaces, and other text formatting... « WordPress.com ForumsA lot of the posts I write have indents, tabs, and extra returns between some paragraphs. And however much I try, I CANNOT seem to get these to "stick" to my blog. 7/24/2012 10:06:03 AM
|