To run Stonefield Query for a particular project, run SFQUERY.EXE with a parameter specifying the directory of the project as "INI=directory". For example:

C:\Program Files\Stonefield Query\SFQuery.exe ini=C:\NorthwindQuery

However, while you're in Stonefield Query Studio, it's more convenient to launch Stonefield Query for the currently open project by clicking the Launch Stonefield Query button (). This makes it easier to test your configuration, since you can launch Stonefield Query, perform some testing, exit, change the configuration, launch Stonefield Query again, etc.

The first time you launch Stonefield Query for a particular project, the Setup dialog appears, asking you to specify where Stonefield Query stores its data files (the tables containing the reports the user creates). You can select the same directory as the project files are in or a different directory if you wish.

You can now test your configuration by ensuring the proper application name appears in various dialogs, the proper captions appear for tables and fields, and you can create reports that provide the correct results. If you find things that must be changed, exit from Stonefield Query, make the appropriate changes in Stonefield Query Studio, and launch Stonefield Query again.

Stonefield Query can accept many other command-line parameters. See the Running Stonefield Query from Other Applications help topic.