home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / b / b420_2 / 1.ddi / QEREADME.TX$ / qereadme.txt
Encoding:
Text File  |  1992-04-01  |  10.2 KB  |  199 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
  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. The SQL Server libraries installed with Q+E are not compatible with SQL Server 4.2 or greater. If you are using SQL Server 4.2 or greater, you should remove the following two files from your Excel directory:
  51.  
  52.     W3DBLIB.DLL
  53.     DBNMP3.DLL
  54.  
  55. Newer versions of these files are installed with SQL Server 4.2 and should 
  56. be copied to your Windows \SYSTEM directory where they can be shared by 
  57. Q+E as well as your other SQL Server applications.
  58.  
  59.  
  60. ------
  61. QE.EXE
  62. ------
  63.  
  64. dBASE IV Compatibility
  65. ----------------------
  66.  
  67. 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, 
  68. 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."
  69.  
  70. 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.
  71.  
  72. 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.
  73.  
  74.  
  75. Field Names from Microsoft Excel Documents
  76. -----------------------------------------
  77.  
  78. 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.
  79.  
  80. Note: It is recommended that you do not execute database functions while
  81. ----  in workgroup mode.
  82.  
  83.  
  84. ------
  85. QE.XLA
  86. ------
  87.  
  88. Command Equivalent Functions
  89. ----------------------------
  90.  
  91. 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.
  92.  
  93.  
  94. SQL Query Command
  95. -----------------
  96.  
  97. 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.
  98.  
  99. For example, "SELECT * FROM dBASEFILE|C:\emp.dbf" selects all the records from the dBASE file named "emp.dbf", located in the root directory.
  100.  
  101. 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').
  102.  
  103. 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.
  104.  
  105.  
  106. Text files
  107. ----------
  108.  
  109. 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.
  110.  
  111.  
  112. "Remote Links Exist" message
  113. ----------------------------
  114.  
  115. Closing a file after extracting information from an external database displays the message
  116.  
  117.    Remote links to document exist. Close anyway?
  118.  
  119. 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.
  120.  
  121.  
  122. QE.XLA Helpful Hints
  123. --------------------
  124.  
  125. 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. 
  126.  
  127. For example, "SELECT * FROM dBASEFile|C:\emp.dbf" selects all the records from the dBASE file named "emp.dbf", located in your boot directory. 
  128.  
  129. 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').
  130.  
  131.  
  132.  
  133. ----------------------
  134. Using Q+E with DEC Rdb
  135. ----------------------
  136.  
  137. In the Schema Statement box, enter the necessary Schema Statement to connect. See your database administrator, or DEC Rdb manuals for details.
  138.  
  139.  
  140. -------------------------------------------
  141. Errata: Q+E for Microsoft Excel User's Guide
  142. -------------------------------------------
  143.  
  144. Chapter:  1, Q+E Basics
  145. Section:  Installing Q+E
  146.           Page 68:
  147.           In the fourth paragraph, the statement that Setup modifies
  148.           your WIN.INI file is incorrect. Setup does not modify your 
  149.           WIN.INI file; instead, it creates a QE.INI file in your 
  150.           Windows directory. QE.INI contains Q+E driver information.
  151.  
  152. Chapter:  8, Transferring Data to Other Applications
  153. Section:  Linking Another Application to Q+E
  154.           Page 49:
  155.           The statement, "However, the data remains linked to the 
  156.           underlying database through Q+E," is incorrect. The data is 
  157.           not linked to the underlying database, but to Q+E itself.
  158.  
  159.  
  160. Chapter:  9, Using Micrsoft Excel to Access Data on External Databases
  161.  
  162. Section:  Using Macro Functions with Q+E
  163. Function: DB.DELETE
  164.           Page 68:
  165.           The heading shows only the question form of the function. 
  166.           There is a standard form as well. Also, change DB.DELETE?() 
  167.           to DB.DELETE() -- no question mark in the second-to-last line 
  168.           in the paragraph below the heading.
  169. Function: DB.PASTE.FIELDNAMES
  170.           Page 71:
  171.           The second argument should read "paste_fields", not 
  172.           "fieldname". Also, when using this function, use one or the 
  173.           other argument (or neither), but not both.
  174.  
  175. Chapter:  11, Q+E Execute Command Reference
  176. Command:   PASTE()
  177.            Page 105:
  178.            The example at the top of the page is missing a closing 
  179.            parenthesis at the end of each of the four lines. Please 
  180.            add these.
  181. Command:   SAVE.LABEL.AS()
  182.            Page 109:
  183.            To create a label with spaces between each item, use two sets
  184.            of double quote marks around a blank space. For example:
  185.            =EXECUTE(chan,"[SAVE.LABELS.AS('ADDR.LAB','FIRST_NAME+
  186.            " "+LAST_NAME;CITY+" "+STATE+" "+ZIP',5,1,0,0,0) ]")
  187.  
  188. Chapter:   Appendix C, Using Q+E with Microsoft Excel Worksheet Files
  189. Section:   Opening a Microsoft Excel Worksheet in a Query Window
  190.            Page 143:
  191.            The second paragraph states that Q+E prompts you for a 
  192.            password if the worksheet is protected. This is incorrect; 
  193.            there is no prompt and Q+E is unable to load the file. You
  194.            must un-protect it in Excel to use.
  195.  
  196.  
  197.  
  198.  
  199. 0392