Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Creating a Providex ODBC connection in VB6

Posted on 2006-06-22
4
Medium Priority
?
968 Views
Last Modified: 2007-12-19
Hello,

I have a VB6 app that is generating Crystal Reports.  I have to automatically on form load create an ODBC connection to a ProvideX database.  I know the SQL syntax, but does anyone know the syntax for Providex?

This is HUGE for me if there is an answer!!

Many thanks!

Eric
0
Comment
Question by:posae
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 25

Expert Comment

by:jrb1
ID: 16964321
http://www.tek-tips.com/viewthread.cfm?qid=362741&page=5

mobjConn.Open "Driver={ProvideX 32-Bit ODBC Driver};Directory=\\Server\Share\MAS90;UID=user;PWD=password;Company=ABC"
0
 
LVL 25

Expert Comment

by:jrb1
ID: 16964335
Or possibly with some more parms

cn.Open "Driver={ProvideX 32-Bit ODBC Driver};Directory=\\MAS200;UID=XXX;PWD=XXX;Company=XXX;CacheSize=10;KeyRestrict=1;DirtyReads=0;BurstMode=1;SERVER=10.0.0.11"

0
 

Author Comment

by:posae
ID: 16968302
Thanks for your posts!  This is for making a direct connection, right?  If a Crystal Report is using a specific ODBC connection, don't I have to have the ODBC connection defined on the PC to run the report?

Eric
0
 
LVL 25

Accepted Solution

by:
jrb1 earned 2000 total points
ID: 16969604
Yes, that is my understanding.  All the details to make the connection are specified in the program.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Suggested Courses

636 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