Before creating the form, we need to create a connection so that OpenInsight recognizes the ODBC connection to the PUBS database. Do the following:

  1. Launch the Client/Server Workspace.

  2. Select New from the File menu.

  3. Specify a new Connection entity.

  4. Enter the Datasource as PUBS. Note that OpenInsight doesn't actually know that the datasource is SQL Server. The connection will simply refer to the ODBC datasource called PUBS. ODBC will handle communicating with SQL Server. 

  5. Save the definition as PUBS. You now have a connection that can be recognized by a BASIC+ program.

  • No labels