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

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox for Windows                   NUMBER  :  1248
  9.   VERSION  :  1.0
  10.        OS  :  WIN
  11.      DATE  :  March 9, 1993                            PAGE  :  1/2
  12.  
  13.     TITLE  :  Printing the structure of a table
  14.  
  15.  
  16.  
  17.  
  18.   Intended Audience:
  19.   This is for all users of Paradox for Windows
  20.  
  21.   Prerequisites:
  22.   Familiarize yourself with File | Utilities | Info Structure from
  23.   the Desktop of Paradox for Windows
  24.  
  25.   Purpose:
  26.   After reading this document, you'll be able to get a printout of
  27.   any table structure.
  28.  
  29.   Obtaining a printout of the structure for a table is desirable
  30.   when using Paradox for Windows interactively or when programming
  31.   in ObjectPAL.  This Technical Information Sheet deals with the
  32.   specifics of obtaining such a printout easily.
  33.  
  34.   The table structure is readily available from the Main menu of
  35.   Paradox for Windows when viewing a table.  From the Main menu,
  36.   select:
  37.  
  38.        File | Utilities | Info Structure
  39.  
  40.   A dialog box will appear which allows you to inspect all details
  41.   of the active table.  In addition to creating the dialog box,
  42.   from which there is no means to obtain a printout, a temporary
  43.   structure table (Struct.db) is also created.  This table will
  44.   serve as our source table to print from.
  45.  
  46.   Press the "Done" button on the dialog box to return to the
  47.   Desktop.  From the Main menu, select  File| Open | Table | and
  48.   select:  :priv:struct.db.   This table contains 12 fields
  49.   depicting information about the original.  A sample Struct.db
  50.   table is pictured on the next page.
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox for Windows                   NUMBER  :  1248
  75.   VERSION  :  1.0
  76.        OS  :  WIN
  77.      DATE  :  March 9, 1993                            PAGE  :  2/2
  78.  
  79.     TITLE  :  Printing the structure of a table
  80.  
  81.  
  82.  
  83.  
  84.   Field Name             Type  Size   Comment
  85.   --------------------   ----  ----   ---------
  86.   Field Name             A      25
  87.   Type                   A       1
  88.   Size                   S
  89.   Key                    A       1
  90.   _Invariant Field Id    S
  91.   _Required Value        A       1    Validity Check
  92.   _Min Value             A     255    Validity Check
  93.   _Max Value             A     255    Validity Check
  94.   _Default Value         A     255    Validity Check
  95.   _Picture Value         A     175    Validity Check
  96.   _Table Lookup          A      81    Validity Check
  97.   _Table Lookup Type     A       1    1=Just Current field,
  98.                                         Fill no help
  99.                                       2=All Corresp. Fields,
  100.                                         Fill no help
  101.                                       3=Just Current field,
  102.                                         Help & Fill
  103.                                       4=All Corresp. Fields,
  104.                                         Help & Fill
  105.  
  106.   An Instant report on the Struct.db table will yield a multi-
  107.   pagewidth report as a default with no formatting.  This may
  108.   suffice if the objective is just to print the Field Name, Size,
  109.   Type and Key.  If the additional information on Validity checks
  110.   is wanted in a formatted layout, design a report for future use.
  111.  
  112.   In general, you'll find that designing a few reports for various
  113.   purposes, all specifying Struct.db as the table in the Data
  114.   Model, will make it easy for you to get the structure information
  115.   you need quickly and easily.
  116.  
  117.  
  118.   DISCLAIMER: You have the right to use this technical information
  119.   subject to the terms of the No-Nonsense License Statement that
  120.   you received with the Borland product to which this information
  121.   pertains.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.