# PRB: Only One Query Available in FoxPro/Mac FoxApp Application

ID: Q120793

2.5x 2.60a MACINTOSH kbusage

The information in this article applies to:

- Microsoft FoxPro for Macintosh, versions 2.5b, 2.5c, 2.6a

## SYMPTOMS

In FoxPro for the Macintosh, you can run the query that appears in the selection box. To run a different query, modify the query in the selection box. You cannot select existing queries from the file selection box. Those queries are grayed out. In FoxPro for Windows, you can select existing queries.

## CAUSE

The query selection box was designed to provide a means of creating a simple query programmatically. It was not intended to allow access to multiple queries previously designed. This is described in the Macintosh Foxpro Developer's Guide on page 309. The description of the Query selection under the Application menu says "Displays a dialog so that you can create a Query." The Windows Developer's Guide has the same description.

## STATUS

This behavior is by design.

## MORE INFORMATION

### Steps to Reproduce this Behavior

1. Create a simple application using FoxApp.

2. Run the application created, and select Query from the Application

       popup.

3. A default name (the same name as the application) appears for a new

       query in the dialog window.

4. Any other queries in the file selection box above are grayed out and

       cannot be selected.

5. Change the default name, design a query, and save it.

6. After closing the query, select Query from the Application popup. The

       default name will still appear in the selected box, and you will be
       unable to select the query designed above.

## REFERENCES

Microsoft FoxPro Developer's Guide for Macintosh, page 309 Microsoft FoxPro Developer's Guide for Windows, page D16-9

Additional reference words: FoxMac 2.50b 2.50c 2.60a KBCategory: kbusage kbprb KBSubcategory:

    Keywords          : kbprb kbusage
    Version           : 2.5x 2.60a
    Platform          : MACINTOSH

Last Reviewed: May 18, 1998 © 1999 Microsoft Corporation. All rights reserved. Terms of Use.