Microsoft KB Archive/101806

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 09:30, 20 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Incorrect Defaults for ConnTimeout/GenTimeout

ID: Q101806

2.50 2.50a | 2.00 2.50 2.50a

WINDOWS    | MS-DOS

kbtool kbdocerr The information in this article applies to:

  • Microsoft FoxPro Connectivity Kit, versions 2.5 and 2.5a
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a

SUMMARY

Page 47 of the FoxPro Connectivity Kit "User's Guide" incorrectly lists the default values for ConnTimeout as 0 and GenTimeout as 15; the default value for ConnTimeout is 15 and the default value for GenTimeout is 0.

MORE INFORMATION

Steps to Reproduce Problem

1. From the File menu, choose New, select Program, and then choose

   New.

2. Input the following:

      SET LIBRARY TO fpsql
      ?DBGetOpt(0,'GenTimeOut')
      ?DBGetOpt(0,'ConnTimeOut')

   If you are using FoxPro for MS-DOS, the library file is FPSQL.PLB
   and is normally located in the FOXPRO25 directory. In FoxPro for
   Windows, the library file is FPSQL.FLL and is usually located in
   the FOXPROW directory.

3. Save the file as TEST.PRG. 4. In the Command window, type the following:

      DO test.prg

Note that the program returns 0 for the GenTimeout default and 15 for the ConnTimeout default. Additional reference words: FoxDos FoxWin 2.50 2.50a docerr KBCategory: kbtool kbdocerr KBSubcategory: FxtoolCk

Keywords          : FxtoolCk 
Version           : 2.50 2.50a | 2.00 2.50 2.50a
Platform          : MS-DOS WINDOWS

Last Reviewed: April 30, 1996
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.