Collapse AllExpand All

3.1. Connecting Through the ODBC Driver

Upon starting the MetaSQL Editor, we should next connect to the database by clicking the File drop down menu option. Next, select Database and finally Connect. You will see the standard OpenRPT Connection screen:

OpenRPT Connection screen

Before proceeding, set the connection options by clicking on the OPTIONS button. You will see:

Login Options for an ODBC connection

You will need to set the fields as follows:

Driver

Select the ODBC option.

Database

Enter the name you gave to your ODBC connection.

Server

Leave blank. This is only used when connecting to PostgreSQL.

Port

Leave blank. This only used when connecting to PostgreSQL.

Click the SAVE button, and then on the Log In screen click the LOGIN button. Remember that the ODBC connection handles user authentication, so the Username and Password fields are normally not required when using this connection methodology.