Jump to content

Field Legenth


This topic is 7935 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I'm new to Filemaker Pro and have a simple question thats driving me nuts. I'm making a file that consists of 10 printed pages. The last 8 pages need to be simply text, as if created on a typewriter. What I would like to do is keep the text field from expanding, i.e., when the end of one page is reached, automatically tab to the next created text field located on the following page. Is there anyway to do this?

Any help would be greatly appreciated.

Link to comment
Share on other sites

Only if you know how many characters fit on a page. If the font is monospaced, you can determine this. If the font is proportional, the number of characters that fit depends on WHICH characters are entered. In this case the only way to know if the size exceeds one page using a script is to setup the field on a multipage layout, enter preview mode, Go to Record/Request/Page (last) and check Status(CurrentPageNumber).

If you know how many characters to allow, you can setup a field validation (Length(Field) < 1458 or whatever) or create a calculation field (Left(OriginalField, 1458)) to truncate the field.

-bd

Link to comment
Share on other sites

Why do that? Text fields on layouts can cover more than one page.

In fact the best way to manage print layouts is to make the text fields bigger than necessary, and use the Sliding/printing options to "shrink fit" them to suit each record's requirements.

Link to comment
Share on other sites

This topic is 7935 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.