MDB2 SQL Connection
Hi,
do anybody knows how to connect in sql mdb2 in Visual Basic 6
I only know how to connect in php...
this is my sample connection in php....
#======================================#
$mdb2 = connectdb();
$sql = "SELECT FROM "
$results = selquery($sql,$mdb2);
closedb($mdb2);
#======================================#
do anyone knows how to do it in Visual Basic 6....
Please help me....
millanskie
Junior Poster in Training
63 posts since Dec 2006
Reputation Points: 10
Solved Threads: 1
Thanks Veena for your answer I appreciate it very much... but can u give me a detailed code from opening a connection to closing a connection.... I'm really not good in database, I know this is too much.
Thanks anyway...
millanskie
Junior Poster in Training
63 posts since Dec 2006
Reputation Points: 10
Solved Threads: 1
Hi,
Thanks a lot Veena, your code is working great...
Thanks for the help.
Regards,
Millan
millanskie
Junior Poster in Training
63 posts since Dec 2006
Reputation Points: 10
Solved Threads: 1
Hi,
Sorry I thought it was already running in sql connection, it was the other program using Microsoft Access is the one is running...
I'm still having a runtime error like this:
Runtime error '3709'
when I click debug it is pointing on
ar.Open "SELECT editorname FROM editormaster"
I dont know how to solve it.
Regards,
Millan
millanskie
Junior Poster in Training
63 posts since Dec 2006
Reputation Points: 10
Solved Threads: 1
Hi Veena,
Thanks for the help, its really working now surely...
Thank You very much Veena.
Regards,
Millan
millanskie
Junior Poster in Training
63 posts since Dec 2006
Reputation Points: 10
Solved Threads: 1