logo3.gif (3322 bytes)  

DBA Consulting, Customization, Reporting, Training, and Add-Ons
From Midwest Accounting, P.C.

DBA Services Home Page

 

DBA ODBC White Paper

Operating System Requirements

Windows 95, 98, NT at your workstation(s).  If you have a network server, Windows NT  or Novell Netware at your server.

Back to top

Pervasive Software Requirements

  1. You must be running either DBA Client/Server or, if you are running a DBA Peer-to-Peer system, have installed the Pervasive SQL.2000 Workstation Engine. Is you are running a DBA Peer-to-Peer system and are not running Pervasive.SQL Workstation Engine, contact DBA Software.

  2. Pervasive Software ODBC-32- version 2.53.0300 or higher. The ODBC driver shipped with DBA’s Client/Server version prior to version 99.2 and was installed during a typical installation of Pervasive SQL 7.  The Pervasive ODBC Engine Interface and Pervasive ODBC Client Interface drivers, version 7.5X.XXXXX, are installed with the Pervasive SQL.2000 Client/Server and Peer-to-Peer versions.  The steps for configuring a new data source discussed below are different depending upon the driver and Pervasive SQL version you have installed (i.e. version 2.5X.XXXX or 7.5X.XXXXX).  To verify the driver and version you have installed check the 32 Bit ODBC Administrator found in your Control Panel or in your Pervasive SQL 7 or Pervasive SQL.2000 folder.

 Back to top

DBA Accounting / Manufacturing / Distribution Software Requirements

  1. DBA version 98.1 or higher.

  2. ODBCDDF.RUN dated 11/10/98 or later found in your DBA program directory. ODBCDDF.RUN as of version 99.1 will not work with DBA MS Access ODBC Reports. DBA plans to ship the more recent version in future releases.

  3. Because ODBC requires its own set of DDF files, your default company must be located in a separate folder located beneath your DBAMFG folder.   Earlier versions of DBA did not separate the default company from the DBAMFG program directory.

  4. Start DBA, switch to the company(s) you would like to use ODBC reporting with, and run ODBCDDF from UT-A.

 Back to top

Configuring a New ODBC Data Source (Pervasive 7 - Version 2.5X. XXXX)

  1. Start the ODBC 32 Bit Administrator from the Control Panel or Pervasive SQL 7 folder.

  2. Select System DSN and click Add.

  3. Select Pervasive Software ODBC-32 and click Finish.

  4. Enter a name for your Data Source and then Browse to the location of your company data. Double click on FILE.DDF located in your DBA Company data directory.

  5. Select Access/Jet Compatibility.

  6. Click OK.

  7. Repeat the steps for additional companies for which you would like ODBC Connectivity.

  8. Your completed screen will look as follows.  Click OK and close the ODBC Administrator.

Back to top

Configuring a New ODBC Data Source - (Pervasive SQL.2000)

NT Server/Workstation Engine

Note - These procedures apply to all SQL.2000 Peer-to-Peer Workstations and to the NT Server only for a Client/Server installation.

  1. To use ODBC at an NT Server, the Pevasive Relational Service must be running.   To verify the Pervasive Relational Service is running at your NT Server, check Services from the Control Panel of your Server.

  2. At the NT server, start the ODBC 32 Bit Administrator from the Control Panel or Pervasive folder.

  3. Select System DSN and click Add.

  4. Select Pervasive ODBC Engine Interface and click Finish.

  5. Enter a name for your Data Source.

  6. Click Create under Database.

  7. Enter a name for your Database and enter the path to your DDF files under Dictionary Location and Data File Locations.  Use the Browse and Add buttons.

  8. Check Integrity Enforced.

  9. Click OK

  1. Your completed screen will look as follows.  Click OK and close the ODBC Administrator.

Back to top

NT Client

Note - These procedures apply to all SQL.2000 Win 95, 98, or NT workstations for an NT Client/Server installation.

  1. At the Win 95, 98, or NT workstation, start the ODBC 32 Bit Administrator from the Control Panel or Pervasive folder.

  2. Select System DSN and click Add.

  3. Select Pervasive ODBC Client Interface and click Finish.

  4. Enter a name for your Data Source.

  5. Enter your server IP address or name under Server Address.

  6. Click Get DSN List and select a Data Source Name.  This is the same name you created at your server using the Pervasive ODBC Engine Interface (See Creating a New ODBC 7.5X.XXXXX Data Source - NT Server).

  7. Your completed screen will look as follows.  Click OK and close the ODBC Administrator.

Back to top

Novell Netware Server and Client

Note - These procedures apply to all SQL.2000 Win 95, 98, or NT workstations for an Novell Netware Client/Server installation.

  1. To use ODBC on a Netware Server, the Pevasive Relational Service must be running.   To verify the Pervasive Relational Service is running type MODULES at the server console and verify the engine to be loaded or run MGRSTART at the server.

  2. Create the system DSN on the client machine to the data on the Netware server.  For Novell users, the client interface creates an Engine Interface DSN.

  3. At the Win 98, Win 95, or NT workstation, start the ODBC 32 Bit Administrator from the Control Panel or Pervasive folder.

  4. Select System DSN and click Add.

  5. Select Pervasive ODBC Client Interface and click Finish.

  6. Click Connect and enter your server name under Connecting to and enter your normal User name and Password.

  7. The Pervasive ODBC Engine Interface DSN Setup dialog box is displayed.

  8. Create an Engine Interface DSN (see NT Server/Workstation Engine) and click OK.

  9. The Pervasive ODBC Client Interface DSN Setup dialog box is displayed.

  10. Create a Client Interface DSN (see NT Client) and click OK.

Back to top

Starting Microsoft Access and Connecting to Your Data Source 

We suggest you download DBA Connection Manager, open in Microsoft Access, and click Help.  This tool will greatly assist you in establishing and managing your ODBC connections.

Special Note

The first time you run DBA MS Access ODBC Reports after installation, or after creating a new set of DDF files and ODBC Data Source, you may receive MS Access and ODBC errors (for no apparent reason that we can find). Restarting Windows will cure the problem. 

 Back to top


ODBC and Security

Some users are concerned that DBA data can be modified and deleted without any password protection.  The ability to modify and delete data is actually a benefit and can come in quite handy at various times.  But the fact is Microsoft Access has one of the finest security systems available which, if set up properly, is virtually impossible to break. Refer to your Microsoft Access documentation, help files, and the Microsoft web site for detailed procedures on setting up security.

Security must be set AFTER attaching your DBA tables and must be created at each site where DBA is implemented.  Most users do not like the hassle of security due to logon screens, passwords, and the extra cost associated with administration.  Evaluate the potential risk of no security versus the cost of implementing and administering security, and then decide.

If you decide to implement security, thoroughly familiarize yourself with the process by reviewing the Microsoft Access help file.

To create security, the steps are-

  1. Create a new workgroup.

  2. Attach to your new workgroup file using the Microsoft Access Workgroup Administrator.

  3. Start Microsoft Access.

  4. Create new users and passwords.

  5. Attach your DBA tables.

  6. For each new user created in 4, assign Read Only permissions for each DBA table attached.

  7. For at least one user created in 4, assign Administrative permissions for each DBA table attached.

  8. Remove all permissions for each DBA attached table from the Admins and Users group and from the Admin and User users.

Back to top


Download to Trouble Shooting.rtf to trouble shoot ODBC connectivity problems

Back to top


Having problems connecting to your data source?

Call us for technical assistance on a pay per incidence basis and we will work through your problems until you have successfully connected to your DBA data source.

Telephone
    586-412-2400
FAX
    586-412-2405
Postal address
    42621 Garfield Road, Suite 106, Clinton Twp., MI 48038
Electronic mail
    grandazzo@mwaccounting.com  

 

Join Our DBA Services Mailing List