|
-
Mar 28th, 2008, 06:48 AM
#1
Thread Starter
Junior Member
Changing databases in VB 2005
I hope someone can offer me some advice on this issue.
I created a running program in VB 2005 Express Edition using a MySQL database. I have over 400 lines of code. How difficult would it be to change this program over to an Access database? I installed a converter that converts the MySQL database over into an Access database. How will this effect my program in VB? Would it cause me to have re-code the whole entire program? Any help or suggestions would be greatly appreciated.
-
Mar 28th, 2008, 09:19 AM
#2
Re: Changing databases in VB 2005
Different connection string, and possible different Imports (I'm not familiar with MySQL), however, if the table structures are identical, then that would be the only coding changes.
Last edited by Hack; Mar 28th, 2008 at 11:17 AM.
-
Mar 28th, 2008, 10:56 AM
#3
Thread Starter
Junior Member
Re: Changing databases in VB 2005
Thank you for your quick response. I'll give it a shot and see what happens.
-
Mar 28th, 2008, 06:32 PM
#4
Hyperactive Member
Re: Changing databases in VB 2005
I'm not 100% sure it is mandatory but I have always coded SQL statements on an Access database surrounded with # eg. #03/28/2008#
-
Mar 29th, 2008, 04:19 AM
#5
Re: Changing databases in VB 2005
# signs would be for dates, not SQL statements and the # signs are unique to Access and not required, or supported, in other databases (at least none of which I'm aware.)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|