home *** CD-ROM | disk | FTP | other *** search
/ Program Metropolis - Software Boutique 95 / SOFTWARECD.iso / dbase5 / readme. < prev    next >
Encoding:
Text File  |  1994-06-23  |  7.6 KB  |  232 lines

  1.                 Welcome to dBASE 5.0 for DOS
  2.             -------------------------------------
  3.  
  4. This file contains important, late-breaking information about
  5. dBASE 5.0 for DOS, including revisions to the documentation.
  6.  
  7. TABLE OF CONTENTS
  8. -----------------
  9. 1. HOW TO CONTACT BORLAND
  10. 2. RELEASE NOTES
  11. 3. DOCUMENTATION UPDATE
  12.  
  13.  
  14. 1. HOW TO CONTACT BORLAND
  15. -------------------------
  16. The Borland Assist program offers a range of technical support
  17. plans to fit the different needs of individuals, consultants,
  18. large corporations, and developers. To receive help with this
  19. product, send in the registration card and select the Borland
  20. Assist plan which best suits your needs. North American customers
  21. can register by phone 24 hours a day by calling 1-800-845-0147.
  22. For additional details on these and other Borland services, see
  23. the Borland Assist Support and Services Guide included with this
  24. product.
  25.  
  26. 2. RELEASE NOTES
  27. ----------------
  28.  
  29. Extended memory
  30. ---------------
  31. If you don't have 3 MB of extended memory allocated for dBASE,
  32. you may encounter an error message. For example, if you are using
  33. smartdrv or if you have DOS loaded in high memory, not all of the
  34. 3MB of extended memory will be available for dBASE.
  35.  
  36. If necessary, you can reduce the amount of extended memory that
  37. dBASE requires by editing the PhysMin statement in the
  38. DBASEDOS.INI file as follows:
  39.  
  40. change
  41.  
  42. ;PhysMin=3M
  43.  
  44. to
  45.  
  46. PhysMin=2M
  47.  
  48. Doing this reduces the amount of extended memory available to
  49. dBASE and will decrease performance.
  50.  
  51. Caution: Do not reduce PhysMin to less than 2MB.
  52.  
  53.  
  54. Using dot syntax with @...GET/READ, ACCEPT, and INPUT commands
  55. --------------------------------------------------------------
  56. Properties associated with an object should not be used as memory
  57. variable input for the @...GET/READ, ACCEPT, and INPUT commands.
  58. These properties are evaluated and set using dBASE 5.0 dot
  59. syntax. Use of object properties with the @...GET/READ, ACCEPT,
  60. and INPUT commands will result in a syntax error. To change or
  61. display the value of a property using these commands,
  62. store/retrieve the value to/from a memory variable.
  63.  
  64. Example:
  65. mVar = MyForm.Text
  66. @ 2, 2 GET mVar
  67. READ
  68. MyForm.Text = mVar
  69.  
  70.  
  71. Using the SAVE TO and RESTORE FROM commands in dBASE 5.0
  72. --------------------------------------------------------
  73. The SAVE TO command used for saving memory variables to a file
  74. does not include object properties in the .mem file. If the value
  75. of an object property needs to be saved to a memory file, store
  76. the value into a memory variable which can then be saved to a
  77. memory file. The object property can then be retrieved by
  78. RESTORING the memory variable and replacing the object's property
  79. with the value of the memory variable.
  80.  
  81. Example:
  82.  
  83. mVar = MyForm.Text
  84. SAVE TO mVarFile ALL LIKE mVar
  85. ...
  86. RESTORE FROM mVarFile ADDITIVE
  87. MyForm.Text = mVar
  88.  
  89.  
  90. Using "#", "*", ";" symbols in a compile filelist
  91. -------------------------------------------------------
  92. When creating a file list for dBASE 5.0 compilation, do not
  93. insert remark lines by using the symbols "#", "*", or ";". Using
  94. such symbols will result in a "Invalid path or file name" message
  95. when issuing a COMPILE @<filelist> command.
  96.  
  97.  
  98. Sample DOS Form files
  99. ---------------------------
  100. Many of the sample DOS Form files (DFM) located in the CUA
  101. Samples directory may not be easily modified using the Form
  102. Designer. These forms were created using memory variables and
  103. database files that may not be active when attempting to edit the
  104. form. You can easily run any of the sample form files from the
  105. command window.
  106.  
  107. Example:
  108.  
  109. SET DIRE TO CUA_SAMPLES
  110. DO ASCIIC
  111.  
  112.  
  113. Selecting Program | Run with Arguments
  114. --------------------------------------
  115. Entering values into Program | Arguments applies to all programs
  116. executed with Program | Run. If you select Program | Run while
  117. undeclared variables still exist in Program | Arguments, a
  118. "variable not found" error will occur. Remove or initialize
  119. undeclared variables entered in Program | Arguments before
  120. selecting Program | Run.
  121.  
  122.  
  123. Using dBASE 5.0 with NOVELL NetWare 3.11
  124. -----------------------------------------
  125. Running dBASE 5.0 on a NOVELL 3.11 server may cause "Record in
  126. use by another" when dBASE 5.0 attempts to place 500 or more
  127. record locks on the server. The server default for MAXLOCKS is
  128. 500 and may return a message of "record lock threshold exceeded"
  129. when this maximum is reached. If additional locks are requested
  130. and network resources run low, the network may lock up. This
  131. problem does not occur on a NOVEL 3.12 server.
  132.  
  133.  
  134. 3. DOCUMENTATION UPDATE
  135. -----------------------
  136. Following are changes in the "Language Reference:"
  137.  
  138. - p. 311 Note: SAVE TO doesn't save CUA objects
  139.  
  140. - p. 463 ColorEntryScrollBar property removed.
  141.  
  142. - p. 469 ColorListSelected property is a reserved word.
  143.  
  144. - p. 583 Save() method added. SaveFile property revised:
  145.  
  146. ------------------------------//---------------------------------
  147. Save()
  148.  
  149. A method that saves an editor object file to disk.
  150. Syntax
  151. <object reference>.Save()
  152.  
  153. Property of Object
  154. EDITOR
  155.  
  156. Usage
  157. If the DataSource and SaveFile values are blank, then Save()
  158. displays the "Save As" dialog box to prompt the user for a new
  159. file name. If the user selects a new file, the DataSource is
  160. changed to the new file name and the file is written to disk.
  161. If the file already exists, the user is prompted to Overwrite
  162. regardless of SET SAFETY. If Overwrite is selected, the
  163. DataSource is changed and the file written. If Cancel is selected
  164. from the Overwrite dialog or no file is selected from the Save As
  165. dialog box, then the DataSource is untouched and the file is not
  166. saved. The Modified flag is untouched.
  167.  
  168. Example
  169. In the following example, the untitled editor in the form is
  170. saved to a file named NOTES.TXT when the editor contents are
  171. changed and the user clicks the Save pushbutton.
  172.  
  173. DEFINE FORM fName FROM 0,0 TO 15, 75
  174. DEFINE EDITOR eEdit of fName FROM 1,1 TO 6, 50
  175. DEFINE PUSHBUTTON pbSave OF fName AT 8, 20 ;
  176.      PROPERTY ;
  177.      Text  "&Save", ;
  178.      Width  10, ;
  179.      OnClick  SaveEdit, ;
  180.      GrabFocus  .F.
  181.  
  182. ? fName.READMODAL()
  183. lVoid = fName.RELEASE()
  184. RETURN
  185.  
  186. PROCEDURE SaveEdit
  187.      IF Form.eEdit.Modified()
  188.           Form.eEdit.SaveFile = "Notes.txt"
  189.           lVoid = Form.eEdit.SAVE()
  190.      ENDIF
  191. RETURN
  192.  
  193. See also
  194. SaveFile
  195.  
  196. ------------------------------//---------------------------------
  197. SaveFile
  198. Instructs the Save() method to save the Editor buffer with a file
  199. name different from the DataSource.
  200.  
  201. Syntax
  202. <object reference>.SaveFile <expL | expC>
  203.  
  204. Default
  205. The default for SaveFile is "".
  206.  
  207. Property of Object
  208. EDITOR
  209.  
  210. Usage
  211. If the Datasource file name is different from the SaveFile file
  212. name, the Save() method saves the editor buffer with the SaveFile
  213. name, resets the DataSource to the SaveFile name, and then sets
  214. the value of SaveFile to "".
  215. If the Datasource is set and SaveFile is "", the Save() method
  216. saves using the DataSource value and leaves SaveFile as "".
  217. If DataSource is not set (an Untitled editor) and SaveFile is set
  218. to a file name, the Save() method saves the Untitled editor to
  219. the SaveFile name value. Datasource is set to the SaveFile value
  220. and then SaveFile is set to "" .
  221. Attempting to set SaveFile for a MEMO datasource causes a
  222. "Property not supported in this context" error message.
  223. You can use the SaveFile property in the DEFINE statement. Use
  224. dot reference notation to do the following:
  225. - Set the value of the property.
  226. - Query the property's value.
  227. - Assign the property's return value to a variable.
  228.  
  229. See also
  230. Close(), DEFINE EDITOR, Release(), Save()
  231.  
  232.