home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / database / 1075 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.7 KB

  1. From: Fred.Puhan@p4219.f70.n109.z1.fidonet.org (Fred Puhan)
  2. Sender: Uucp@blkcat.UUCP
  3. Path: sparky!uunet!blkcat!Uucp
  4. Newsgroups: comp.sys.mac.databases
  5. Subject: FileMaker Pro Question
  6. Message-ID: <715719654.F00001@blkcat.UUCP>
  7. Date: Sat, 05 Sep 1992 00:58:09 -0500
  8. Lines: 32
  9.  
  10. Here's an interesting (to me) problem: I would like to take name, address, and 
  11. telephone number fields from within a FileMaker Pro database and create
  12. "telephone book"-style fields; i.e., given the following example:
  13.  
  14.            name:  SampleName
  15.         address:  SampleAddress
  16.  city,State Zip:  Anytown, XX  NNNNN
  17.           phone:  NNN-NNNN
  18.  
  19. I need to concatenate the name and address fields, add dot-leaders, then the
  20. telephone number to yield:
  21.  
  22.       formatted:  SampleName SampleAddress........................NNN-NNNN
  23.  
  24. The question I have is how to calculate (and then fill) the number of periods
  25. needed to "pad" the space between the listing data and the phone number. I
  26. have no trouble calculating the length of the formatted name/address, and even
  27. using a "fixed-length" for the formatted listing, am still not able to dynami-
  28. cally perform a "repeat for" function to pad the dots. Any suggestions?
  29.  
  30. /= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  31. =\
  32.                                        |
  33. Fred Puhan                             |  1.  Outside of a dog, a book is man's
  34. PRC Inc.                               |      best friend.
  35.                                        | 
  36. fred.puhan@f70.n109.z1.fidonet.org     |  2.  Inside of a dog, it's too dark to
  37. puhan.fred@po.gis.prc.com              |      read.
  38.                                        |
  39. /= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  40. =\
  41.  
  42.