home *** CD-ROM | disk | FTP | other *** search
/ On Hand / On_Hand_From_Softbank_1994_Release_2_Disc_2_1994.iso / 00043 / s / qereadme.tx$ / qereadme.txt
Text File  |  1992-09-29  |  12KB  |  211 lines

  1.  
  2. (To view best on-screen in Windows Notepad, maximize the Notepad 
  3. window and turn on wordwrap if it is not already on -- from the 
  4. Edit menu, choose Word Wrap. For best printed results, open this 
  5. document in Windows Write, Microsoft Word, or another word processor, 
  6. select the entire document and format the text in 10 point Courier 
  7. before printing.)
  8.  
  9. --------------------------------------
  10. Notes on using Q+E for Microsoft Excel
  11. --------------------------------------
  12.  
  13. Contents
  14.    Outdated Driver Files
  15.    SQL Server Compatibility  ** IMPORTANT: New Information **
  16.    QE.EXE
  17.      dBASE IV Compatibility
  18.      Field Names from Microsoft Excel Documents
  19.    QE.XLA
  20.       Command Equivalent Functions
  21.       SQL Query Command
  22.       Text Files
  23.       "Remote Links Exist" message
  24.    Using Q+E with DEC Rdb
  25.    Errata: Q+E for Microsoft Excel User's Guide
  26.  
  27.  
  28. ---------------------
  29. Outdated Driver Files
  30. ---------------------
  31.  
  32. If you previously installed a version of Q+E earlier than version 3.0a, the following driver files will have been copied to your Windows \SYSTEM directory: QEDBF.DLL, QESS.DLL, QEXLS.DLL, QETXT.DLL and QEXLA.DLL. Q+E versions 3.0a and later install new versions of these files in the directory containing EXCEL.EXE. When you install Q+E with Excel, Setup adds the Excel directory to the Path command in your AUTOEXEC.BAT file so that, after restarting your computer, Q+E will find the new drivers instead of the older versions. If you install Q+E separately from Excel, or choose not have Setup modify your AUTOEXEC.BAT file, Q+E will not find the new drivers and you will receive the following message:
  33.  
  34.   The DLL for this source is out of date.  Reinstall the driver
  35.   or remove the directory containing the old DLL from your path.
  36.  
  37. The name of the driver will also be displayed in the error message.
  38. If this occurs, do the following:
  39.  
  40.   1.  Remove the following files from your Windows \SYSTEM directory:
  41.       QEDBF.DLL QESS.DLL QEXLS.DLL QETXT.DLL
  42.   2.  Add the directory containing Q+E to the Path command in 
  43.       your AUTOEXEC.BAT file.
  44.  
  45.  
  46. ------------------------
  47. SQL Server Compatibility
  48. ------------------------
  49.  
  50. IMPORTANT: New Information for Drivers Installed with Microsoft Excel Version 4.0a.
  51.  
  52. When you install Q+E with Microsoft Excel version 4.0a, versions of DBNMP3.DLL and W3DBLIB.DLL are installed in your Microsoft Excel directory. If you use or plan to use SQL Server in conjunction with Q+E, the following information affects you, depending on which SQL Server version you use and how you use SQL Server.
  53.  
  54. ^ If you use SQL Server version 1.1:
  55.  
  56. You need to take no special action; use the default installation of Q+E.
  57.  
  58. ^ If you use SQL Server version 4.2 in conjunction 
  59.   with Q+E only; i.e. you don't need SQL Server version
  60.   4.2 in conjunction with any other applications:
  61.  
  62. For Q+E and Microsoft Excel version 4.0a, you must remove DBNMP3.DLL and W3DBLIB.DLL from your Windows \SYSTEM directory, or you may rename these files (e.g. with the extension .BAK) so that Q+E uses the correct versions of these files installed in your Microsoft Excel directory when you install Q+E. You must also ensure that your Microsoft Excel directory is listed in the Path statement in your AUTOEXEC.BAT file.
  63.  
  64. ^ If you use SQL Server version 4.2, and you use it
  65.   in conjunction with other Windows database applications
  66.   that utilize SQL 4.2 in addition to Q+E:
  67.  
  68. In this case, the other application(s) also use DBNMP3.DLL and/or W3DBLIB.DLL. You need to place the version of these .DLL files that the application(s) require in each application's directory, and remove them from your Windows \SYSTEM directory, or rename them (e.g. with the extension .BAK). This will ensure that the correct .DLL files are used by the application, and they will not conflict with the versions of these files used by Q+E. Ensure that each application's directory is listed in the Path statement in your AUTOEXEC.BAT file.
  69.  
  70. The version of Q+E that ships with Microsoft Excel version 4.0a doesn't support all of the new data types supported by SQL 4.2.  In particular, if you attempt to open a table containing 'real' or 'smalldata' data types when using the SQL 4.2 versions of DBNMP3.DLL and W3DBLIB.DLL (not the versions that ship with Excel) you may hang or crash.  This is the primary reason for using the versions of DBNMP3.DLL and W3DBLIB.DLL that ship with Excel rather than the version supplied with your SQL 4.2 installation.
  71.  
  72. ------
  73. QE.EXE
  74. ------
  75.  
  76. dBASE IV Compatibility
  77. ----------------------
  78.  
  79. By default, Q+E operates on dBASE files according to dBASE IV compatibility. For most uses, ANSI compatibility provides more predictable results in terms of handling the sorting, averaging, counting, and displaying of Null values.  Also, using UPPER and LOWER functions according to dBASE IV compatibility does not change the case of international characters. To change your compatibility default to ANSI, 
  80. select Options in the dBASEFile Open dialog, select ANSI as the compatibility, and choose OK with the Set Default checkbox selected.  For a more thorough explanation of the differences between dBASE IV SQL and ANSI SQL, refer to Appendix A, "Using Q+E with dBASE", in your "Q+E for Microsoft Excel User's Guide."
  81.  
  82. Changing or adding records in the Q+E Data Form dialog will not update or insert new records until you move to the next record or exit Data Form.
  83.  
  84. If you will be exchanging text files between Q+E and Microsoft Excel, be sure to save them with a tab separator and a .TXT extension. If you are saving the file as a .CSV file, be sure to use the separator indicated in your Microsoft Windows Control Panel.
  85.  
  86.  
  87. Field Names from Microsoft Excel Documents
  88. -----------------------------------------
  89.  
  90. Q+E encloses field names from Microsoft Excel documents that contain spaces or lowercase letters with the ` character. To avoid possible conflicts with extracting data to Microsoft Excel, or specifying criteria, use only uppercase characters in your ExcelFile database tables, and use underscore characters instead of spaces.
  91.  
  92. Note: It is recommended that you do not execute database functions while
  93. ----  in workgroup mode.
  94.  
  95.  
  96. ------
  97. QE.XLA
  98. ------
  99.  
  100. Command Equivalent Functions
  101. ----------------------------
  102.  
  103. Many of the command equivalent functions in QE.XLA turn off error checking at run time. If you use QE.XLA command equivalents and error checking in a macro, insert ERROR(TRUE) following the QE.XLA command equivalent to turn error checking back on.
  104.  
  105.  
  106. SQL Query Command
  107. -----------------
  108.  
  109. QE.XLA provides a SQL Query command for sending SQL statements directly to Q+E. When using this command, include the source name in the table specification of the FROM line. This tells Q+E which source to use in opening the file.
  110.  
  111. For example, "SELECT * FROM dBASEFILE|C:\emp.dbf" selects all the records from the dBASE file named "emp.dbf", located in the root directory.
  112.  
  113. If you will be saving queries from the SQL Query dialog to be opened by Q+E, include the Q+E headerline "Q+E 3.0 for <source name>" as the first line in the statement, where <source name> is the name of the source for Q+E to use in executing the specified query. For example, "Q+E 3.0 for ExcelFile" specifies that this .QEF file will be used by Q+E to open an ExcelFile database table. **NOTE: the format 'source|tablename' must not be used here. Simply use 'tablename' alone (i.e. 'C:\EXCEL\ADDR.DBF').
  114.  
  115. SQL Query allows you to run just a portion of the text in the SQL Query dialog by selecting that text prior to choosing Run. If no text is selected, SQL Query sends the entire statement to Q+E.
  116.  
  117.  
  118. Text files
  119. ----------
  120.  
  121. By default, all fields in a textfile database table will be read as character fields. To extract formatted data, or do extracts on data such as dates or numeric values, select the "Guess Data Types" option in the Q+E Open Textfile Options dialog and select the Set Default checkbox. Fixed Length Files will always be read by QE.XLA as a single column of data. For best results, open the Fixed Length file first in Q+E or Microsoft Excel, parse the information into columns, and save it as a character-delimited file.
  122.  
  123.  
  124. "Remote Links Exist" message
  125. ----------------------------
  126.  
  127. Closing a file after extracting information from an external database displays the message
  128.  
  129.    Remote links to document exist. Close anyway?
  130.  
  131. This message is advising you that a connection has been made between the document and Q+E to exchange information. Choose OK to proceed with closing the file.
  132.  
  133.  
  134. QE.XLA Helpful Hints
  135. --------------------
  136.  
  137. SQL QUERY Command (Source Name): QE.XLA provides a SQL Query command for sending SQL statements directly to Q+E. Be sure to include the source name in the table specification of the FROM line to tell Q+E which source to use in opening the file. 
  138.  
  139. For example, "SELECT * FROM dBASEFile|C:\emp.dbf" selects all the records from the dBASE file named "emp.dbf", located in your boot directory. 
  140.  
  141. SQL QUERY Command (Saving a Query): If you will be saving queries from the SQL Query dialog to be opened by Q+E, be sure to include the Q+E headerline "Q+E 3.0 for <source name>" as the first line in the statement, where <source name> is the name of the source for Q+E to use in executing the specified query. For example, "Q+E 3.0 for ExcelFile" specifies that this .QEF file will be used by Q+E to open an ExcelFile database table. **NOTE: the format 'source|tablename' must not be used here. Simply use 'tablename' alone (i.e. 'C:\EXCEL\ADDR.DBF').
  142.  
  143.  
  144.  
  145. ----------------------
  146. Using Q+E with DEC Rdb
  147. ----------------------
  148.  
  149. In the Schema Statement box, enter the necessary Schema Statement to connect. See your database administrator, or DEC Rdb manuals for details.
  150.  
  151.  
  152. -------------------------------------------
  153. Errata: Q+E for Microsoft Excel User's Guide
  154. -------------------------------------------
  155.  
  156. Chapter:  1, Q+E Basics
  157. Section:  Installing Q+E
  158.           Page 68:
  159.           In the fourth paragraph, the statement that Setup modifies
  160.           your WIN.INI file is incorrect. Setup does not modify your 
  161.           WIN.INI file; instead, it creates a QE.INI file in your 
  162.           Windows directory. QE.INI contains Q+E driver information.
  163.  
  164. Chapter:  8, Transferring Data to Other Applications
  165. Section:  Linking Another Application to Q+E
  166.           Page 49:
  167.           The statement, "However, the data remains linked to the 
  168.           underlying database through Q+E," is incorrect. The data is 
  169.           not linked to the underlying database, but to Q+E itself.
  170.  
  171.  
  172. Chapter:  9, Using Micrsoft Excel to Access Data on External Databases
  173.  
  174. Section:  Using Macro Functions with Q+E
  175. Function: DB.DELETE
  176.           Page 68:
  177.           The heading shows only the question form of the function. 
  178.           There is a standard form as well. Also, change DB.DELETE?() 
  179.           to DB.DELETE() -- no question mark in the second-to-last line 
  180.           in the paragraph below the heading.
  181. Function: DB.PASTE.FIELDNAMES
  182.           Page 71:
  183.           The second argument should read "paste_fields", not 
  184.           "fieldname". Also, when using this function, use one or the 
  185.           other argument (or neither), but not both.
  186.  
  187. Chapter:  11, Q+E Execute Command Reference
  188. Command:   PASTE()
  189.            Page 105:
  190.            The example at the top of the page is missing a closing 
  191.            parenthesis at the end of each of the four lines. Please 
  192.            add these.
  193. Command:   SAVE.LABEL.AS()
  194.            Page 109:
  195.            To create a label with spaces between each item, use two sets
  196.            of double quote marks around a blank space. For example:
  197.            =EXECUTE(chan,"[SAVE.LABELS.AS('ADDR.LAB','FIRST_NAME+
  198.            " "+LAST_NAME;CITY+" "+STATE+" "+ZIP',5,1,0,0,0) ]")
  199.  
  200. Chapter:   Appendix C, Using Q+E with Microsoft Excel Worksheet Files
  201. Section:   Opening a Microsoft Excel Worksheet in a Query Window
  202.            Page 143:
  203.            The second paragraph states that Q+E prompts you for a 
  204.            password if the worksheet is protected. This is incorrect; 
  205.            there is no prompt and Q+E is unable to load the file. You
  206.            must un-protect it in Excel to use.
  207.  
  208.  
  209.  
  210.  
  211. 0992