Solved

table names show up different on certain computers using Pervasive database

Posted on 2012-04-06
4
284 Views
Last Modified: 2012-07-26
we use a program that uses pervasive as the database.  we've created an access database that connects via an odbc.  one group of computers sees the table name one way and the other group sees it another.  we can't pinpoint what is the difference.  the odbc looks the same on both groups.

obviously the database doesn't work on one group because they see the table names different.

I suppose the question is:  what could make them see the table names differently?
0
Comment
Question by:jrri
  • 2
  • 2
4 Comments
 
LVL 18

Expert Comment

by:mirtheil
Comment Utility
Are the two groups accessing the same PSQL database or are they accessing different databases?  
If you use PCC (Pervasive Control Center), are the table names different or the same?

What exactly is different about the names?  

The only time I've seen this type of behavior is when the PSQL Database Name is pointing to a different set of DDFs and the sets are not the same.
0
 
LVL 1

Author Comment

by:jrri
Comment Utility
I've tried a network based access DB and a local result is the same

not using PCC, pervasive DB is from an estimating program called Timberline

name difference:  fred_bob_joe on one and when you try to link from the other computer it sees it as bob__fred_joe.  it's weird, it moves which word is in front and on one position it adds another underscore.

not sure what a DDF is.
0
 
LVL 18

Accepted Solution

by:
mirtheil earned 500 total points
Comment Utility
DDFs are the Data Dictionary Files.  They describe the data files for ODBC drivers and include the table name, field name, field information, and other metadata.

Timberline doesn't use the standard Pervasive ODBC driver so it might be a problem with that driver but I've never heard of anything like this.  

Can you use another ODBC tool like ODBC Test?  Does it show the same behavior?  
In Access, can you execute a SQL Passthrough query with the statement:
SELECT * FROM "X$FILE"
It should give a list of table names (in XF$NAME) and a path (in XF$LOC) as well as some other information.  If you execute that, does it display different table names?
0
 
LVL 1

Author Comment

by:jrri
Comment Utility
i'll try to check on some of your suggestions
, the quick fast fix is to simply rename the linked tables to match what the other groups looks like and it works but obviously there is a bigger issue.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Read about achieving the basic levels of HRIS security in the workplace.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now