Specify properties for a project

To debug a project, each DataBlade® module project must have an associated database server and database.

When you first open a DataBlade module project in Visual C++, the Configure DBDK Visual C++ dialog box appears, prompting you to choose a database server and database. If you choose a local database server, you can use any of the add-in commands. If you choose a remote database server, you can use only the Upload DataBlade Module , Upload DataBlade SQL Scripts, and Register DataBlade Module commands.

You can choose an existing database from the DBDK Database list or, if you are using a local database server, type in a new database name. IfxQuery creates the database you specify if it does not exist when you run the Debug DataBlade Module command. If the database server you specified is a remote server, you must choose an existing database name.

You can also specify an SQL file to initialize your test database for the project in the Initialize Database File field. You can use the generated Setup.sql file in the src directory as your initialization file after you add SQL statements to it. See Edit unit test files for a description of the Setup.sql file.

You can change the properties of a project at any time by clicking Configure DBDK Visual C++ Add-In button and completing the corresponding dialog box.