Microsoft KB Archive/126704

{| = FIX: GETFILE Does Not Display All Files =
 * width="100%"|

ID: Q126704

2.50b 2.50c MACINTOSH kbprg kbfixlist kbbuglist

The information in this article applies to:


 * Microsoft FoxPro for Macintosh, versions 2.5b and 2.5c

SYMPTOMS
In FoxPro for Macintosh, when a null string is used to specify the file extension() in a GETFILE function and without the creator type(), an empty folder will be displayed. This is contrary to the Language Reference, which states "If  is the null string, all files in the current directory are displayed if  in not included."

RESOLUTION
Try using "*.*" as the first argument to display all files in the folder, such as GETFILE("*.*","GET A FILE").

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 Macintosh.

Steps to Reproduce Problem
In the Command window, type:

? GETFILE("","GET A FILE")

An empty folder will be displayed.

Additional reference words: FoxMac 2.50b 2.50c buglist2.50b buglist2.50c fixlist2.60a KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: FxprgGeneral Solution Type : kbfix
 * }