BUG: Invalid Subscript Ref When Append Spreadsheet to Database

Last reviewed: June 26, 1995
Article ID: Q122911
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6a

SYMPTOMS

When Appending a Spreadsheet to a Database by using FOR with a UDF (User Defined Function), you receive an "Invalid Subscript Reference" error message.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Enter MODIFY COMMAND TEST In the Command window.

  2. In the TEST.PRG Enter the following Code:

    USE C:\FPW26\TUTORIAL\Customer.dbf COPY TO Test.xls APPEND FROM Test.xls TYPE XLS FOR Myudf()

    FUNCTION Myudf

          RETURN .T.
    

  3. From the File Menu, choose Save.

  4. Enter DO Test in the Command window.


Additional reference words: FoxWin 2.60a buglist2.60a
KBCategory: kbinterop kbprg kbbuglist
KBSubcategory: FxinteropSpread


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.

Last reviewed: June 26, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.