home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / TEXT / PDX_ALL.ZIP / TI1063.ASC next >
Text File  |  1992-06-04  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox                               NUMBER  :  1063
  9.   VERSION  :  4.0
  10.        OS  :  DOS
  11.      DATE  :  June 4, 1992                             PAGE  :  1/2
  12.  
  13.     TITLE  :  An Explanation of Paradox 4.0 Locks
  14.  
  15.  
  16.  
  17.  
  18.   Intended Audience:
  19.   Paradox Network Users
  20.  
  21.   Prerequisites:
  22.   A basic understanding of network and DOS rights, form locks, and
  23.   multi-table forms.
  24.  
  25.   Purpose:__
  26.   An Explanation of Paradox 4.0 Locks
  27.  
  28.   Paradox 4.0 has two new kinds of locks: a DIR lock and a GROUP
  29.   lock.
  30.  
  31.   Dir Locks
  32.  
  33.   The DIR lock permits a user to set the tables in a directory to
  34.   read-only status UNDER PARADOX.  A user wishing to set a
  35.   directory lock must have full (read, write, create) access to
  36.   that directory.  To set a DIR lock choose Tools | Net | Lock |
  37.   Dir Lock.
  38.  
  39.   Once set, the DIR lock prevents all users (even the one who
  40.   placed it) from modifying the tables in the locked directory.
  41.   Only the user who set a DIR lock can remove it.  A user wishing
  42.   to set a DIR lock may not specify his current private or working
  43.   directory.  If you want to lock either your private or working
  44.   directory, you must first use Tools | Net | SetPrivate or Tools |
  45.   More | Directory, respectively, to change the directory
  46.   elsewhere, under the principle "You can't pull the rug out from
  47.   under your own feet".  This also means that you can no longer use
  48.   a directory that has been DIR locked as a private directory,
  49.   since Paradox must have the ability to create temporary files in
  50.   a private directory.
  51.  
  52.   BEWARE: A DIR Lock alone does not prevent anyone at the network
  53.   (operating system) level from deleting or creating files in the
  54.   locked directory.  To ensure read-only status at the network
  55.   level, the tables in a directory must be designated read-only
  56.   using your network software.  (See your network manual for more
  57.   information.)  Generally, only a network supervisor will have
  58.   sufficient rights to do this.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox                               NUMBER  :  1063
  75.   VERSION  :  4.0
  76.        OS  :  DOS
  77.      DATE  :  June 4, 1992                             PAGE  :  2/2
  78.  
  79.     TITLE  :  An Explanation of Paradox 4.0 Locks
  80.  
  81.  
  82.  
  83.  
  84.   If tables in the directory are set to read-only status at the
  85.   network level, applying a DIR Lock would be redundant.  It is
  86.   also possible to use the DOS command ATTRIB +R command to
  87.   designate a given file as read-only  (See your DOS manual for
  88.   more information on the ATTRIB command).  Paradox 4.0 allows
  89.   users to view tables designated as read-only by the network or
  90.   DOS.  Earlier versions of Paradox did not permit this.
  91.  
  92.   Group Locks
  93.  
  94.   Group locks are an improved replacement for form locks.  Earlier
  95.   versions of Paradox used form locks to maintain referential
  96.   integrity of a multi-table form.  A form lock required that all
  97.   changes be made using the same multi-table form.  Group locks
  98.   remove this restriction and instead lock only the current master
  99.   record and its corresponding details.
  100.  
  101.   Paradox creates a group lock in addition to a write record lock
  102.   any time a user coedits a linked multi-table form.  Paradox
  103.   places a group lock on the detail records related to the current
  104.   master record, preventing other users from changing them.
  105.  
  106.   Conversely, in a linked multi-table form, if a user coedits a
  107.   group of detail records, a write record lock is placed on the
  108.   associated master record to prevent other users from changing it.
  109.   This allows Paradox to maintain relational integrity even when
  110.   another user coedits the master or detail in table view or in
  111.   another form view, a situation which was impossible under 3.5
  112.   with form lock.
  113.  
  114.   Paradox 4.0 does not permit editing of the primary key field in
  115.   the master if it is unable to place a group lock on all the
  116.   detail records.  This can occur if another user is already
  117.   coediting one of the detail records.  The reverse applies as
  118.   well: if the related master record cannot be record-locked,
  119.   Paradox does not permit editing of the detail records.
  120.  
  121.   More information on locks can be found in the Paradox User's
  122.   Guide, under Chapter 11, "Modify", and Chapter 21, "Using Paradox
  123.   on a Network."
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.