[Gambas-user] Gambas3 and database connection
Ron
ron at ...1740...
Sun May 29 12:05:23 CEST 2011
Running my project with Gambas3 RC1 now.
Always used the database manager from gambas2, I noticed that now you
have a connections folder in the project tree.
How can you manage the database in Gambas3, can find it...
I have a connection defines in my project itself like so
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
' connect to the mysql database
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Public Function ConnectDatabase() As Boolean
With hDB
.Type = "mysql"
.Host = sSQLHost
.Login = sSQLUser
.Password = sSQLPass
.Name = sSQLDatabase
.Open
End With
End
Regards,
Ron_2nd.
More information about the User
mailing list