DOCUMENT:Q121055  10-NOV-1994  [FOXPRO]
TITLE   :PRB: INSERT (BEFORE) Doesn't Cause Error on Read-Only Query
PRODUCT :Microsoft FoxPro
PROD/VER:2.5x 2.60 | 2.5x 2.60 | 2.5x
OPER/SYS:WINDOWS   | MS-DOS    | MACINTOSH
KEYWORDS:kbprg kbprb kberrmsg

----------------------------------------------------------------------
The information in this article applies to:

 - Microsoft FoxPro for Windows, versions 2.5x, 2.6
 - Microsoft FoxPro for MS-DOS, versions 2.5x, 2.6
 - Microsoft FoxPro for Macintosh, version 2.5x
----------------------------------------------------------------------

SYMPTOMS
========

Performing an INSERT or INSERT BEFORE command on a read-only query doesn't
cause an error message as expected.

STATUS
======

Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
FoxPro version 2.6a for Windows, FoxPro version 2.6a for MS-DOS, and FoxPro
version 2.6a for Macintosh.

MORE INFORMATION
================

Steps to Reproduce Problem
--------------------------

1. Type the following in the Command window:

      USE SYS(2004) + "\tutorial\customer.dbf"
      SELECT * FROM customer

2. Press ESC to close the Browse window.

3. Type "INSERT" or "INSERT BEFORE" (without the quotation marks) in
   the Command window.

Note that an editing window is displayed. However, the editing window
does not accept any input.

NOTE: The INSERT BLANK command will cause the expected "Cannot write
to a read-only file" error message.

Additional reference words: FoxMac FoxDos FoxWin 2.50x 2.50b 2.50c 2.60a
errmsg
err msg
r/o
read/only cursor
KBCategory: kbprg kbprb kberrmsg
KBSubcategory:

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1994.