•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 361,560 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,014 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser:
Views: 421 | Replies: 5 | Solved
![]() |
hi guyzz, i wanted to have two connection using access and mysql in my proj. my access was my main db connection and what ever data in my access will store directly in mysql db when their is internet connection...
I declared 2 fuction connection but my problem is the switching of the recordset. "OpenRS" and "OpenRS2"
i declared "OpenRS" in every table in Access but my second connection is "OpenRS2" for my mysql.. how can i use the OpenRS2 in saving that will no change in every code in every forms.
any help or comment will appreciated........... thx in advance..
jaa
I declared 2 fuction connection but my problem is the switching of the recordset. "OpenRS" and "OpenRS2"
i declared "OpenRS" in every table in Access but my second connection is "OpenRS2" for my mysql.. how can i use the OpenRS2 in saving that will no change in every code in every forms.
any help or comment will appreciated........... thx in advance..
jaa
•
•
Join Date: Feb 2007
Location: Bangalore,India
Posts: 1,128
Reputation:
Rep Power: 4
Solved Threads: 66
•
•
Join Date: Feb 2008
Location: Cebu, Philippines
Posts: 122
Reputation:
Rep Power: 1
Solved Threads: 19
mySQl connection string (requires a mysqlODBC driver)
Access Connection string
hope this helps
vb Syntax (Toggle Plain Text)
Public Const sqlCon = "DRIVER={MySQL ODBC 3.51 Driver};SERVER=<Server address>;DATABASE=<Database name>;USER=user;PASSWORD=password;OPTION=3"
Access Connection string
vb Syntax (Toggle Plain Text)
sqlCon = "PROVIDER= MICROsoft.jet.oledb.4.0;persist security info=false;data source=" & App.Path & "\Database.mdb"
hope this helps
Proud to be Philippine made...
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
- Previous Thread: can i use animated gif?
- Next Thread: How to connect my VB project to MySQL and SQL through ODBC?



Linear Mode