home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / TEXT / PDX_ALL.ZIP / TI132.ASC < prev    next >
Text File  |  1991-11-05  |  5KB  |  199 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox                                NUMBER  :  132
  9.   VERSION  :  All
  10.        OS  :  DOS
  11.      DATE  :  November 5, 1991                         PAGE  :  1/3
  12.  
  13.     TITLE  :  Useful Picture Statements
  14.  
  15.  
  16.  
  17.  
  18.   A picture is a powerful and flexible tool for controlling what a
  19.   user can type into a field during data entry.  You can use
  20.   pictures to shape and limit what the user can type into a field
  21.   and make data entry easier by filling in required or default
  22.   values automatically.
  23.  
  24.   To define a picture for a field, edit the table.  Choose Modify |
  25.   Edit and enter in the name of the table.  Next press <F10> for
  26.   the Edit menu, and use the following menu choices: Valcheck |
  27.   Define | Picture.  At this point, enter in the picture statement
  28.   for the field.  This document contains a list of useful picture
  29.   statements.
  30.  
  31.   Pictures can also be used with the PAL Accept command.  See
  32.   Chapter 20 of the Pal User's Guide for a discussion of the Accept
  33.   command.
  34.  
  35.   Definition of Picture Symbols:
  36.  
  37.   Match characters:
  38.  
  39.        #    Accepts ONLY a digit
  40.        ?    Accepts ONLY a letter EITHER upper or lower
  41.        @    Accepts ANY character
  42.        &    Accepts ONLY a letter, converts it to upper case
  43.        !    Accepts ANY character, converts letters to upper case
  44.  
  45.             Any other character typed that is not defined as a
  46.             match character or a special character is taken
  47.             literally.
  48.  
  49.   Special characters:
  50.  
  51.        ;    Take next character literally
  52.        *    Repetition in picture
  53.        []   Optional input
  54.        {}   Option grouping
  55.        ,    Option separator
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox                                NUMBER  :  132
  75.   VERSION  :  All
  76.        OS  :  DOS
  77.      DATE  :  November 5, 1991                         PAGE  :  2/3
  78.  
  79.     TITLE  :  Useful Picture Statements
  80.  
  81.  
  82.  
  83.  
  84.   Useful Picture Statements:
  85.  
  86.   ZIP Code with optional last four digits           #####[{-}####]
  87.  
  88.   SSN with automatic fill in of dashes              ###-##-####
  89.   SSN with fill in of dashes using spacebar or -    ###{-}##{-}####
  90.  
  91.   Allow letters only - Spaces NOT allowed           *?
  92.   Allow letters only and capitalize the first one   &*?
  93.   Allow letters only - capitalize all letters       *&
  94.  
  95.   Capitalize the first letter only                  !*@
  96.   Capitalize the first letter of every word (I)     *[![*?][* ]]
  97.   Capitalize the first letter of every word (II)    !*[ * !,@]
  98.   Capitalize the first letter of every word (III)
  99.                                           *{ ,.}!*{{ ,.}*{ ,.}!,@}
  100.   Capitalize the first letter of every word (IV)
  101.                                           *[[*#[ ]]![*?][@][ ]]
  102.  
  103.   Capitalize the first letter of every word after a comma, blank
  104.   space or parenthesis:
  105.                                      !*[{ ,.,(,;,}*{ ,.,(,;,}!,@]
  106.  
  107.   Simulate a Time data type with format of HH:MM:SS:
  108.             {0#,1#,2{0,1,2,3}}:{0,1,2,3,4,5}#:{0,1,2,3,4,5}#
  109.  
  110.   Simulate a Time data type with form of HH:MM and :SS optional:
  111.             {0#,1#,2{0,1,2,3}}:{0,1,2,3,4,5}#[:{0,1,2,3,4,5}#]
  112.  
  113.   Simulate a Time data type with form of HH:MM AM or HH:MM PM
  114.             {1{:,{0,1,2}:},{2,3,4,5,6,7,8,9}:}{0,1,2,3,4,5}#
  115.   {AM,PM}
  116.  
  117.   Phone number w/ automatic fill in of dashes     ###-####
  118.   Phone number w/ automatic dashes area code opt. [(###)]###-####
  119.   Phone number w/1-800 optional                   [{1-800-,(###)}]###-####
  120.  
  121.   Date - automatic fill in of slashes               {##/##/##,#/##/##,}
  122.   Date - forces 01 for day w/auto fill in of
  123.   slashes{##/01/##,#/01/##}
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.   PRODUCT  :  Paradox                                NUMBER  :  132
  141.   VERSION  :  All
  142.        OS  :  DOS
  143.      DATE  :  November 5, 1991                         PAGE  :  3/3
  144.  
  145.     TITLE  :  Useful Picture Statements
  146.  
  147.  
  148.  
  149.  
  150.   Date - forces 01 for day w/system clock year      {##/01/[##],#/01/[##]}
  151.  
  152.   Automatic entering from a list based on partial
  153.   keystrokes of word.                              {Paradox,Quattro,dBASE}
  154.  
  155.   Allows entry of Miss, Ms., Mr., or Mrs.           M{iss,s.,r{.,s.}}
  156.   Allows additional entry of Reverend, Doctor,
  157.   Father and Pastor:
  158.       {Doctor,Father,M{iss,r{s.,.[
  159.   ;&Mrs.]},s{.,gr.}},Pastor,Reverend}
  160.  
  161.   If you want an 8 digit number with commas in the correct places
  162.   (i.e. 10,666,123) use the picture:
  163.  
  164.                                 *8[#]
  165.  
  166.   and use Image/Format/Commas to place the commas in the number.
  167.   If you do not want any decimal places to show in the number, be
  168.   sure to type in a '0' at the "Number of decimal places:" prompt.
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.