BUG: SQL SELECT Brings Up Dialog Twice ErroneouslyLast reviewed: May 5, 1997Article ID: Q133003 |
The information in this article applies to:
SYMPTOMSAn SQL SELECT command, using LOCFILE() or GETFILE() to find the source table or using PUTFILE() to specify the destination table, may bring up the dialog box for LOCFILE(), GETFILE(), or PUTFILE() twice.
WORKAROUNDStore the return value of the LOCFILE(), GETFILE(), or PUTFILE() function in a variable, and pass this variable to the SELECT command as a named expression (that is, in parentheses) as in this example:
cFilename=LOCFILE('','DBF','Select a Table') SELECT * FROM (cFilename) -or- cFilename=PUTFILE('Table','','DBF') SELECT * FROM <tablename> INTO TABLE (cFilename) STATUSMicrosoft 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 ProblemRun the following command:
SELECT * FROM customer INTO TABLE PUTFILE()The Save As dialog appears twice. To make it work correctly, modify it to:
cFilename=PUTFILE() SELECT * FROM customer INTO TABLE (cFilename) |
Keywords : buglist2.60a FoxDos FoxMac FoxWin FxprgGeneral VFoxWin vfpbug5.0a kbbuglist kbprg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |