[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Convert VB5 app using access to using MS SQL Server

Asked by BobLafleur in VB Database Programming

Tags: connection, server, control

I have a rather large VB5 application (over 130 forms, a lot of code, and over 90 Crystal Reports) that uses an Access 97 database as the "back end". I would like to convert the back end to MS SQL Server 2000 with as little impact on the front end as possible. The VB application accesses the back end database in several manners:

* Many forms have one or more Data controls, and many controls that are bound to the Data control(s) on the form. There are probably about 2,000 bound controls in the application.

* There is one place where the database is opened and closed, and many places in code that use DAO programming to do various things with the data. Lots of code like "set rs = gdb.OpenRecordset("SELECT ...."). This code is sprinkled all over the application.

* The Crystal Reports are linked to tables and/or queries in the database. The current Crystal database driver they are using is PDBDAO.

I can migrate the data structure and data to SQL Server 2000. That is relatively easy. What I'm looking for is how to modify the VB program so it will use SQL Server instead of the Jet/MDB. I have tried creating an Access database with linked tables pointing to the SQL Server tables. This sort-of works, but (a) it is much slower, (b) there are some runtime errors which would have to be examined case-by-case to see why they don't run against SQL Server, and (c) the Crystal Reports don't work - not sure if this is just a matter of changing the database driver, or if it is more complex.

Ultimately, I think we would like to remove the MDB layer all together, and go directly to SQL Server.

(1) What is the best method to use to connect the bound controls to SQL Server? RDO, ADO, or something else? Are there any utilities that help automate this task?

(2) Is there a way to minimize the impact of going and finding all the DAO code and changing it to ADO or something else?

(3) If ADO is the "way to go", does it work with VB5? There are other issues I have with converting to VB6 (bugs in DBCOMBO32.OCX) that will give me headaches in converting the application to VB6.

(4) Are there any future things coming down the line that might make this task easier, if I wait some time (say, for VB.NET, or something else that's in the works?)

(5) What are the pitfalls I need to know about in doing this whole process?

I've been trying to find a consultant to help us with this project, but so far I haven't found anyone that has actually "done it"... Just people who have read about the process and "think" they know what to do.

I am making this question worth 300 points, and I'm looking for as much detail as possible about this process: Utilities that will help (other than the "upsizing wizard"), links or books that are good sources of reference material, etc.

If you have specific questions that will help you give me a better answer, please ask them. I can post some specific examples of code, etc. if any are required.
[+][-]02/17/01 09:16 AM, ID: 5852324Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: VB Database Programming
Tags: connection, server, control
Sign Up Now!
Solution Provided By: mdougan
Participating Experts: 7
Solution Grade: A
 
[+][-]02/06/01 01:22 AM, ID: 5816616Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/06/01 06:12 AM, ID: 5817297Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/15/01 10:10 PM, ID: 5848439Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/16/01 06:50 AM, ID: 5849691Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/16/01 12:25 PM, ID: 5850786Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/01/01 06:29 AM, ID: 5891109Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/25/01 09:04 PM, ID: 5957889Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/02/01 08:38 AM, ID: 6148818Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/30/01 05:18 AM, ID: 6334012Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/31/01 11:08 AM, ID: 6338178Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/31/01 12:00 PM, ID: 6338331Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92