home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Bus / C / Commander Demo / Commander Demo.rsrc / TEXT_5030_AUTOMATIC RELATIONS.txt < prev    next >
Encoding:
Text File  |  1993-09-07  |  1.3 KB  |  27 lines

  1. AUTOMATIC¬†RELATIONS (one; many)
  2.                                                                                     Pg 38-5
  3.  
  4. one        Boolean           Many-to-one relations
  5. many       Boolean           One-to-many relations
  6.  
  7.  
  8. AUTOMATIC RELATIONS temporarily changes all maual relations into automatic relations for the entire database. The relations stay automatic unless a subsequent call to AUTOMATIC RELATIONS is made.
  9.  
  10. If one is true then all manual many-to-one relations will become automatic. If one is false, all previously changed many-to-one relations will revert to manual relations.
  11.  
  12. The same is true for the argument many except manual one-to-many relations are affected.
  13.  
  14. Relations that are set as automatic in the Design environment are not affected by the command.
  15.  
  16. If all relations have been set as manual in the Design environment this command makes it possible to change them to automatic just before executing operations that need the relation to be automatic (like relations searches and sorts). After the operation has been finished the relation can be changed back to manual.
  17.  
  18.  
  19. The following example makes all manual many-to-one relations automatic, and reverts any previously changed one-to-many relations:
  20.  
  21. AUTOMATIC RELATIONS (True;False)
  22.  
  23.  
  24.  
  25. See also: RELATE¬†MANY, RELATE¬†ONE
  26.  
  27.