r/visualbasic • • Sep 12 '18

Access DAO to SQL database.

Hello guys,

I've asked this question before, without any success. Now I got a little more experienced, so I'm able to explain myself better.

My company has a huge VB, wich contains of 15000 lines. Now this is connected to a access db, but because it needs to connect to a Maximo environment, it need to change to a sql database.

What are the easy ways or hard ways for me to change this. Or is there even an option to change this?

5 Upvotes

14 comments sorted by

View all comments

Show parent comments

2

u/andrewsmd87 Web Specialist Sep 12 '18

Ahh gotcha. Honestly this seems like a pretty big deal for an intern! If you've found the Dao/ado stuff they have to be getting a connection string from somewhere. It's literally a string that says here is where the database is and here's how you connect. So searching for the db name would be a good first step

1

u/Rocket-Reatre Sep 12 '18

Thanks! A colleague almost had the sollution, but gave up because he's a whimp... So I've got all of that information on where all the connection strings are.

He wanted to do it the easy way and connect it trough Access into SQL. Now this was twice as slow, and this vb is of high importance.

So I need to find a propper way thats also atleast as fast a the current one.

Edit: Words

1

u/CommonMisspellingBot Sep 12 '18

Hey, Rocket-Reatre, just a quick heads-up:
collegue is actually spelled colleague. You can remember it by -ea- in the middle.
Have a nice day!

The parent commenter can reply with 'delete' to delete this comment.