Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pervasive connection String

Status
Not open for further replies.

JRCharlie

Programmer
Jan 10, 2016
15
CA
Hi
Why connection to a pervasive DB using a DSN Connection string
Code:
 Friend CW_Schedule As New OdbcConnection("DSN=SCHEDULE")
many of the columns are empty, While if I use
Code:
Friend CW_Schedule As New OdbcConnection("Driver={Pervasive ODBC Client Interface};ServerName=192.168.2.11;dbq=SCHEDULE;")
All of the data is showing.
Thanks in advance.
 
What are the properties of the "Schedule" Data Source as shown in the ODBC Administrator? If you are getting different results with the same query between the two connection strings, the most likely reason is that the connection strings are pointing to different databases.

Mirtheil
 
Actully there were tables with the same column names. When the columns were renamed then the data was correct.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top