home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / clarion / ctrlform.zip / README.NOW < prev   
Text File  |  1991-10-22  |  1KB  |  41 lines

  1. Readme.now
  2.  
  3. CTRLFORM.MDL  Documentation   -- Written by Paul S. Clarion Tech Support
  4.  
  5. The CTRLFORM.MDL is a 218A network model file modification that will handle
  6. the update procedure for the 1 record control file in the network environment.
  7.  
  8. This is ONLY a modified FORM procedure !!!
  9.  
  10. To implement the model file modification:
  11.  
  12. 1) Copy the network model file to a new file.
  13.  
  14. 2) Edit this new model file.
  15.  
  16. 3) Go to the end of the form model.
  17.  
  18. 4) Press CTRL G, type CTRLFORM.MDL, then press enter.
  19.  
  20. 5) The ctrlform model will HOLD and GET the first record from the control file
  21.    prior to executing the SETUP procedure.  Thus you no longer need code
  22.    on the setup procedure line to get the record, check for error and set
  23.    ACTION.  This model change also takes into consideration the possiblity
  24.    of more than 1 user updating the control file.
  25.  
  26. 6) It is still necessary to do the GET(filename,1) on the setup proc. of
  27.    the base procedure, the code is siplified to:
  28.  
  29.        get(filename,1); if error();upd_contrl.
  30.  
  31.    where "filename" is the name of the control file and "upd_contrl" is the
  32.    form procedure using the CTRLFORM.
  33.  
  34.  
  35.  
  36. Good Luck,
  37.  
  38. Paul
  39. Technical Support
  40. Clarion Software
  41.