Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6643743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:05:09+00:00 2026-05-26T00:05:09+00:00

See Edit 3 for latest developments: Backstory: I tried looking, and I hate to

  • 0

See Edit 3 for latest developments:

Backstory:

I tried looking, and I hate to ask such a newbish question but here goes.

I’ve recently gotten a hold of a database that apparently connects (or used to) connect to a Pervasive Database. Before the queries that were in the Access Database consisted of this sort of format:

SELECT * FROM (ODBC;DRIVER={Pervasive ODBC Client Interface};
ServerName=####;ServerDSN=DB;ArrayFetchOn=;ArrayBufferSize=;OpenMode=1;
DecimalSymbol=.;ClientVersion=9.50.077.002;CodePageConvert=1252;
AutoDoubleQuote=0;)distributors;

I honestly have no idea if this ever worked or not, but anyway. I got a new bit of information regarding the connection string, which allegedly goes as follows. I’m unsure where it came from, I just know what they tell me.

ODBC;DSN=DATABASE;ServerName=######.#####;ServerDSN=DATABASE;ArrayFetchOn=1;
ArrayBufferSize=8;TransportHint=TCP:SPX;ClientVersion=10.10.125.000;
CodePageConvert=1252;PvClientEncoding=CP1252;PvServerEncoding=CP1252;
AutoDoubleQuote=0;

I’ve tried various permutations of the two and found that if I use something like this:

SELECT * FROM (ODBC;DRIVER={Pervasive ODBC Client Interface};DBQ=@DATABASE;
ServerName=#######.#####;ArrayFetchOn=1;ArrayBufferSize=8;
TransportHint=TCP:SPX;ClientVersion=10.10.125.000;CodePageConvert=1252;
PvClientEncoding=CP1252;PvServerEncoding=CP1252;AutoDoubleQuote=0;) distributors;

I get a Syntax Error on JOIN function. I have been able to play with the query, getting various errors, but this is the one I run into the most. The idea/end goal is that the database can query the pervasive database without having to use any client side DSNs or setting up anything like that if at all possible. For the record, this is a Win7 Machine with Access 2007 and (I think) Pervasive 10.

Again, probably something simply stupid, but if anyone has any idea or input, it’d be greatly appreciated. 🙂

EDIT: I guess the question would be to ask why Access says my SQL query is wrong, I.E. Why is it throwing up a Join error (Syntax Error on JOIN function) when I don’t see any joins? It highlights the first semicolon after the FROM (ODBC; part.

EDIT 2: Playing around a bit more, I discovered that this query combined with a defined DSN gives me results:

SELECT * FROM [ODBC;DRIVER={Pervasive ODBC Client Interface}
ServerName=#####.#####;DBQ=st;ArrayFetchOn=1;ArrayBufferSize=8;
TransportHint=TCP:SPX;ClientVersion=10.10.125.000;CodePageConvert=1252;
PvClientEncoding=CP1252;PvServerEncoding=CP1252;
AutoDoubleQuote=0].[distributors];

However, if there is a way to make this DSN-less, that would be the end goal. 🙂

EDIT 3: I found a answer. Of sorts.

I think Ifigured it out, it works. Hopefully this helps someone else. ^^

SELECT *
FROM [ODBC;DRIVER={Pervasive 
ODBC Client Interface};
ServerDSN=st;ServerName=######.#####;ArrayFetchOn=1;
ArrayBufferSize=8;TransportHint=TCP:SPX;ClientVersion=10.10.125.000;
CodePageConvert=1252;PvClientEncoding=CP1252;
PvServerEncoding=CP1252;AutoDoubleQuote=0;].[distributors];
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:05:10+00:00Added an answer on May 26, 2026 at 12:05 am

    think Ifigured it out, it works. Hopefully this helps someone else. ^^

    SELECT *
    FROM [ODBC;DRIVER={Pervasive 
    ODBC Client Interface};
    ServerDSN=st;ServerName=######.#####;ArrayFetchOn=1;
    ArrayBufferSize=8;TransportHint=TCP:SPX;ClientVersion=10.10.125.000;
    CodePageConvert=1252;PvClientEncoding=CP1252;
    PvServerEncoding=CP1252;AutoDoubleQuote=0;].[distributors];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Intro: EDIT: See solution at the bottom of this question (c++) I have a
EDIT: See this in action here: http://jsbin.com/emobi/5 -- and that's using mouseenter/mouseleave. I have
Here is my code http://jsfiddle.net/AB6J3/7/ you can see, edit, etc. When I roll over
EDIT-4 I've gotten my sitecustomize.py to execute, but it tosses up an error. Here's
EDIT: See my working code in the answers below. In brief: I have a
I have a Controller with two Edit methods (see below). When I submit the
See updated input and output data at Edit-1. What I am trying to accomplish
EDIT: I would really like to see some general discussion about the formats, their
Edit: I have solved this by myself. See my answer below I have set
I receive this message (see image below) when I try to edit in debugging.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.