![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am creating a document for individuals to sign. On one line there are two blanks. Below the first blank the signer's name, below the second blank is the date. ________________ _________ John Jones 10/02/2005 The problem I am having is adjusting the number of spaces between the name and the date so the date appears in the right spot. Thanks |
#3
| |||
| |||
|
|
I am creating a document for individuals to sign. On one line there are two blanks. Below the first blank the signer's name, below the second blank is the date. ________________ _________ John Jones 10/02/2005 The problem I am having is adjusting the number of spaces between the name and the date so the date appears in the right spot. Thanks |
#4
| |||
| |||
|
|
In article <1h3t5j0.1pv9yy213509moN%rich.sagall (AT) pobox (DOT) com>, rich.sagall (AT) pobox (DOT) com (Rich Sagall) wrote: I am creating a document for individuals to sign. On one line there are two blanks. Below the first blank the signer's name, below the second blank is the date. ________________ _________ John Jones 10/02/2005 The problem I am having is adjusting the number of spaces between the name and the date so the date appears in the right spot. Thanks NEVER EVER EVER use spaces to align text! Not in FileMaker, not in Word, not in anything. If you want to align text, use Tabs, not spaces. Here in FileMaker you can simply put the fields on the layout wherever you want them to appear. Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o) |
#5
| |||
| |||
|
|
In article <1h3t5j0.1pv9yy213509moN%rich.sagall (AT) pobox (DOT) com>, rich.sagall (AT) pobox (DOT) com (Rich Sagall) wrote: I am creating a document for individuals to sign. On one line there are two blanks. Below the first blank the signer's name, below the second blank is the date. ________________ _________ John Jones 10/02/2005 The problem I am having is adjusting the number of spaces between the name and the date so the date appears in the right spot. Thanks NEVER EVER EVER use spaces to align text! Not in FileMaker, not in Word, not in anything. If you want to align text, use Tabs, not spaces. Here in FileMaker you can simply put the fields on the layout wherever you want them to appear. Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o) |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Helpful Harry <helpful_harry (AT) nom (DOT) de.plume.com> wrote: In article <1h3t5j0.1pv9yy213509moN%rich.sagall (AT) pobox (DOT) com>, rich.sagall (AT) pobox (DOT) com (Rich Sagall) wrote: I am creating a document for individuals to sign. On one line there are two blanks. Below the first blank the signer's name, below the second blank is the date. ________________ _________ John Jones 10/02/2005 The problem I am having is adjusting the number of spaces between the name and the date so the date appears in the right spot. Thanks NEVER EVER EVER use spaces to align text! Not in FileMaker, not in Word, not in anything. If you want to align text, use Tabs, not spaces. Here in FileMaker you can simply put the fields on the layout wherever you want them to appear. The problem is that this portion of the document is in the middle of the document. I suppose I could break the document into to two pieces, but that seems inelegant. Any other suggestions? |
#8
| |||
| |||
|
|
Any other suggestions? |
#9
| |||
| |||
|
|
Rich Sagall <rich.sagall (AT) pobox (DOT) com> wrote: Any other suggestions? as says harry, the best is good fomatting of your text, with the help of globals and calculatted fields.. If really not possible, the problem is that basically, FMP don't have a "repeat (n) character" function 2 solutions : - with functions, the only way is case (length chain = x, " ", etc...) ; may be written in a spreasdsheet... - if you can use a script, a loop ajusting the lenght is a better way. |
#10
| |||
| |||
|
|
In article <20051003221546581690@[10.0.0.1]>, pmanet (AT) invivo (DOT) edu says... Rich Sagall <rich.sagall (AT) pobox (DOT) com> wrote: Any other suggestions? as says harry, the best is good fomatting of your text, with the help of globals and calculatted fields.. If really not possible, the problem is that basically, FMP don't have a "repeat (n) character" function 2 solutions : - with functions, the only way is case (length chain = x, " ", etc...) ; may be written in a spreasdsheet... - if you can use a script, a loop ajusting the lenght is a better way. Actually with FM7Dev or FM8Adv where you can define functions its trivial to define a "repeat (string, n) function" define your repeat function, create 2 parameters, string and n string & if(n>1, repeat(string,n-1),"") Which calls itself recursively adding a copy of string n-times. Note: as defined If n<=0 it behaves the same as if n=1, this is easy enough to change if you want it to do something else.) A more efficient (and more complex) version could be defined if you use it extensively and want to boost performance. Alternatively for special purpose operations where n is fairly small and you know what you need 'repeated' you could define a function: repeat(n) left("-- 30 spaces go here",n) so repeat(n) would give you a string of 0 to 30 spaces (0 <= n <= 30). You can use this quick and dirty method even without a developer edition of filemaker, you'll have to use left('spaces',n) instead of the nice function name. (You can put the actual spaces into a global so you don't have to have them copied into all the scripts. -cheers, Dave |
![]() |
| Thread Tools | |
| Display Modes | |
| |