Article ID: 133003
Article Last Modified on 5/7/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
- Microsoft Visual FoxPro 6.0 Professional Edition
- Microsoft FoxPro 2.6a Standard Edition
- Microsoft FoxPro 2.6a Professional Edition for Macintosh
- Microsoft FoxPro 2.6a Standard Edition
This article was previously published under Q133003
SYMPTOMS
An 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.
WORKAROUND
Store 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)
cFilename=PUTFILE('Table','','DBF')
SELECT * FROM <tablename> INTO TABLE (cFilename)
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.
Additional query words: kbvfp300 kbvfp500 kbvfp600
Keywords: kbbug KB133003