John, use a semicolon in place of the comma between file descriptions/extensions reverse the order, and add the extra text parameter before the button text. In other words:
cFileName = GetFile("Multicaps data files:MCP;Multicaps Zip Files:ZIP", "", ;
'Open', 0, 'Select a data file')
Surround your text with < pre > and < /pre > tags (without spaces).
Alan
>Hi
>
> I am trying to use the getfile function and I want to be able to have more than 1 choice of types of filess to list when the user clicks on the dropdown filelist. Here is my code. Any help will be helpful.
>
>
>cFileName = Getfile("MCP:Multicaps data files,ZIP:Multicaps zip files" ,'Open', 0, 'Select a Data File')
>
>Also could someone show me the tags for code snippets. So code will show on a white background. Thanks