DACEasy Autologin

Hello,

I have been successful in creating and ODBC link between an Access database and DACEasy data.  I want to implement this connection for several users excpt there is one issue.

When running a query that involves these tables linked to DACEasy, we get a Username and Password prompt.  Regular users do not work, only Admin level users work.  Is there a way I can pre-specify or auto-logon with this?  Or create a user that cannot logon to DACEasy but has the rights to link to these tables?

It's runnng a Pervasive 9 engine.
hydraziAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bill BachPresident and Btrieve GuruCommented:
Yes.  In your Access definition of the ODBC link, provide a line like this:
   DSN=dsnname;UID=username;PWD=password;
If you set this up separately on queries, then you open the query in design mode, select View/Properties from the menu, and look for the ODBC connect string there.
0
hydraziAuthor Commented:
There is no such area for these options in the ODBC link, as far as I can tell.
0
Bill BachPresident and Btrieve GuruCommented:
Open your query in MSAccess and switch to the "Design View", select from the View Menu the item Properties, and you should see a dialog box with the ODBC Connect String in it.

If you are Using Access 2007, open the query, switch to Design View, then go to the Database Tools menu and click on "Property Sheet".  

The default ODBC Connect String should just be "ODBC;".  Change it to the string indicated above.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

hydraziAuthor Commented:
Ok, interesting.  I could not find this, but then realized I had linked in 2 tables from the DAC database then ran the query from the tables soooo... the ODBC link should be in the design view properties of the tables.  I found the ODBC screen and added in the UID and PWD items... but it didn't work.  And then when I go look at the string it has changed back, excluding anything I typed in.
0
hydraziAuthor Commented:
Ok, interesting.  I could not find this, but then realized I had linked in 2 tables from the DAC database then ran the query from the tables soooo... the ODBC link should be in the design view properties of the tables.  I found the ODBC screen and added in the UID and PWD items... but it didn't work.  And then when I go look at the string it has changed back, excluding anything I typed in.
0
Bill BachPresident and Btrieve GuruCommented:
Actually, no.  The odbc data string that I was talking about is in the design view of the QUERY.
0
hydraziAuthor Commented:
There is no ODBC string in the query.  
0
Bill BachPresident and Btrieve GuruCommented:

I've only got cell phone access to EE until Thursday.
I will build you a complete step-by-step with pictures when I can get some screenshots. Please confirm the version of Access that you are using so the screens make sense.  
0
hydraziAuthor Commented:
We are using Access 2003.  Awesome, many thanks to you!
0
Bill BachPresident and Btrieve GuruCommented:
This text is from a course I wrote back a-ways, based on Access 97, but Access 2003 is similar:

You may also need to leverage the power of the pass-through query to get around some of the limitations of Microsoft Access, such as
the limit of 255 fields in a single table. (Pervasive PSQLs SRDE allows over 1500 fields per table.) Here are the steps to make a pass-through query with Access 97:
Accessing Databases Via ODBC Page 243
1. Go to the Query tab on the database and click New.
2. Select the option for Design View and click OK.
3. Click on the Close button without adding any tables to the query.
4. From the menu bar, select View, then SQL View. Youll see the beginnings of a SELECT statement in the box.
5. Then, from the menu bar, select Query, SQL Specific, Pass-Through. The heading of the query will change to reflect this new option.
6. Next, enter your SQL statement, such as SELECT * FROM x$File. Close the query box and save it with a descriptive name.
Now, opening up the saved query will execute the pass-through query and return any results to the screen. You will be required to specify the data source once again, since pass-through queries can go to any valid source.

You can specify the ODBC Connect String to provide the data source name (DSN=DemoData) and any other ODBC parameters you need. Open the Query in Design view, then select View, Properties. You will get the following dialog:
<See attached graphic>

To specify a UID of Master and a password of 007, it would look like this:
   DSN=Demodata;UID=Master;PWD=007;


odbc.jpg
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hydraziAuthor Commented:
Awesome, I will give his a try tonight!  Thank you so much!
0
hydraziAuthor Commented:
Honestly.... this was an awesome solution!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.