home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / database / p4w_all.zip / TI1368.ASC < prev    next >
Text File  |  1993-03-31  |  5KB  |  199 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox for Windows                   NUMBER  :  1368
  9.   VERSION  :  1.0
  10.        OS  :  WIN
  11.      DATE  :  March 31, 1993                           PAGE  :  1/3
  12.  
  13.     TITLE  :  Useful Picture Statements
  14.  
  15.  
  16.  
  17.  
  18.   Intended Audience
  19.   All Paradox for Windows users.
  20.  
  21.   Prerequisites
  22.   Chapter 9, User's Guide
  23.  
  24.   Purpose
  25.   This document will illustrate some useful picture statements.
  26.  
  27.  
  28.   A picture is a powerful and flexible tool for controlling what a
  29.   user can type into a field during data entry.  You can use
  30.   pictures to shape and limit what the user can type into a field
  31.   and make data entry easier by filling in required or default
  32.   values automatically.
  33.  
  34.   To define a picture for a field, choose File | Utilities |
  35.   Restructure, then choose the table you want (you can also define
  36.   a picture when you are creating a table).  From the Field Roster,
  37.   select the field that you want to set a picture on.  To specify a
  38.   picture for the field, either type the picture pattern that you
  39.   want in the Picture text box, or choose Assist.  When you are
  40.   finished specifying the picture for the field(s), save the table
  41.   by choosing the Save button.  For more information on Assist,
  42.   refer to Chapter 9 in the User's Guide.
  43.  
  44.   Below is a description of the picture symbols and a listing of
  45.   useful picture statements.
  46.  
  47.  
  48.   Definition of Picture Symbols:
  49.  
  50.   Match characters:
  51.  
  52.        #    Accepts ONLY a numeric digit
  53.        ?    Accepts ONLY a letter EITHER upper or lower
  54.        @    Accepts ANY character
  55.        &    Accepts ONLY a letter, converts it to upper case
  56.        !    Accepts ANY character, converts letters to upper case
  57.  
  58.             Any other character typed that is not defined as a
  59.             match character or a special character is taken
  60.             literally.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox for Windows                   NUMBER  :  1368
  75.   VERSION  :  1.0
  76.        OS  :  WIN
  77.      DATE  :  March 31, 1993                           PAGE  :  2/3
  78.  
  79.     TITLE  :  Useful Picture Statements
  80.  
  81.  
  82.  
  83.  
  84.    
  85.   Special characters:
  86.  
  87.        ;    The next character is literal, not a picture-string
  88.             character
  89.        *    The next character can be repeated any number of times.
  90.             Or, specify how many occurrences of the next letter to
  91.             require.
  92.        []   Characters inside brackets are optional
  93.        {}   Characters inside braces are grouped
  94.        ,    Alternative values
  95.  
  96.  
  97.   Useful Picture Statements:
  98.  
  99.   ZIP Code with optional last four digits           #####[{-}####]
  100.   SSN with automatic fill in of dashes              ###-##-####
  101.   SSN with fill in of dashes using spacebar or -    ###{-}##{-}####
  102.  
  103.   Allow letters only - Spaces NOT allowed           *?
  104.   Allow letters only and capitalize the first one, spaces not
  105.   allowed:
  106.       &*?
  107.  
  108.   Allow letters only - capitalize all letters       *&
  109.  
  110.   Capitalize the first letter only of the first word
  111.       !*@
  112.   Capitalize the first letter of every word (I)     *[![*?][* ]]
  113.   Capitalize the first letter of every word (II)    !*[ * !,@]
  114.   Capitalize the first letter of every word (III)
  115.       *{ ,.}!*{{ ,.}*{ ,.}!,@}
  116.  
  117.   Capitalize the first letter of every word (IV)
  118.       *[[*#[ ]]![*?][@][ ]]
  119.  
  120.   Capitalize the first letter of every word after a comma, blank
  121.   space or parenthesis:
  122.       !*[{ ,.,(,;,}*{ ,.,(,;,}!,@]
  123.  
  124.   Simulate a Time data type with format of HH:MM:SS:
  125.       {0#,1#,2{0,1,2,3}}:{0,1,2,3,4,5}#:{0,1,2,3,4,5}#
  126.    
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.   PRODUCT  :  Paradox for Windows                   NUMBER  :  1368
  141.   VERSION  :  1.0
  142.        OS  :  WIN
  143.      DATE  :  March 31, 1993                           PAGE  :  3/3
  144.  
  145.     TITLE  :  Useful Picture Statements
  146.  
  147.  
  148.  
  149.  
  150.   Simulate a Time data type with form of HH:MM and :SS optional:
  151.       {0#,1#,2{0,1,2,3}}:{0,1,2,3,4,5}#[:{0,1,2,3,4,5}#]
  152.  
  153.   Simulate a Time data type with form of HH:MM AM or HH:MM PM
  154.       {1{:,{0,1,2}:},{2,3,4,5,6,7,8,9}:}{0,1,2,3,4,5}# {AM,PM}
  155.  
  156.   Phone number w/ automatic fill in of dashes
  157.       ###-####
  158.  
  159.   Phone number w/ automatic dashes area code optional
  160.       [(###)]###-####
  161.  
  162.   Phone number w/1-800 optional
  163.       [{1-800-,(###)}]###-####
  164.  
  165.   Date - automatic fill in of slashes
  166.       {##/##/##,#/##/##}
  167.  
  168.   Date - forces 01 for day w/auto fill in of slashes
  169.       {##/01/##,#/01/##}
  170.  
  171.   Automatic entering from a list based on partial keystrokes of
  172.   word.
  173.       {Paradox,Quattro,dBASE}
  174.  
  175.   Allows entry of Miss, Ms., Mr., or Mrs.
  176.       M{iss,s.,r{.,s.}}
  177.  
  178.   Allows additional entry of Dr., Doctor, Father, Miss, Mrs., Mr.,
  179.   Mr. & Mrs., Ms., Msgr., Pastor, and Reverend:
  180.   {D{r.,octor},Father,M{iss,r{s.,.[ ;& Mrs.]},s{.,gr.}},Pastor,Reverend}
  181.  
  182.  
  183.   Suggested Reading:
  184.  
  185.   Chapter 9, User's Guide
  186.  
  187.  
  188.   DISCLAIMER: You have the right to use this technical information
  189.   subject to the terms of the No-Nonsense License Statement that
  190.   you received with the Borland product to which this information
  191.   pertains.
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.