How to add ODBC Data Source to Pervasive SQL?

Posted on 2013-12-30
Medium Priority
Last Modified: 2014-01-01
Hello - I could do this in Access 2003 under Windows XP with no problem, but since switching to Windows 7, the same process does not seem to work (still running Office/Access 2003).

Pervasive version is 10.30.17 (both client and engine)

Can somebody point me to a reference source?


Question by:mlagrange
  • 3
  • 2
LVL 41

Expert Comment

ID: 39746923
Did you switch machines so that you are now running a 64-bit OS rather than a 32-bit?  If that is the case, you may need to download a new driver.

Author Comment

ID: 39746942
Computer properties shows Windows 7 Professional, SP1, 32-bit
LVL 29

Assisted Solution

by:Bill Bach
Bill Bach earned 2000 total points
ID: 39746949
The process has not changed.  You can find a white paper describing the entire thing at http://www.goldstarsoftware.com/papers/AccessingBtrieveDataFromODBC.pdf.

As PSQLv10 does not have a 64-bit ODBC Driver, make sure that you are using the 32-bit ODBC Administrator when you set it up.  You can find this from the Pervasive Control Center if you select Tools/ODBC Administrator, but this ONLY works if you have a newer version (like v10.30 or higher).  (Older versions also took you to the wrong one!)  If needed, you should be able to run it manually from:  C:\Windows\SysWoW64\ODBCAD32.EXE  (Yes, the 32-bit ODBC Administrator is located in the 64 directory -- thank you, Microsoft!)
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.


Author Comment

ID: 39746992
ok, thanks Bill, but Too Much Information... all I want to do is create an ODBC data source.
Right off the bat, from the ODBC Administrator, Create New Data Source dialog, which Interface should I select? The Client, or the Engine? (I am trying to create a File DSN, so I can copy this out for the network admin's to use)
LVL 29

Accepted Solution

Bill Bach earned 2000 total points
ID: 39747017
If you create a DSN on the computer with the engine, you create an Engine DSN.  The engine DSN needs to know the location of the database files and DDF's on the server.

If you create a DSN on the computer with only the client, you create a Client DSN.  The Client DSN needs to know the Server Name and the Engine DSN name on the server.

Author Comment

ID: 39749835
Thanks Bill - I tried all 6 combinations (client, engine interface; user, system file dsn's), and the only one I was able to get through without error was creating a user dsn using engine interface.

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question