On Dec 28, 2006, at 6:52 PM, Robert Mann wrote:

trying to convert a mysql database to a valentina database searching the list I ran across libDatabase and looks like it will do the conversion, I am just having a hard time figuring out how to use it tried to go through the getting started, to run this do you put the following in the message box?

put "mysql" into tDbA["Type"]
put "localhost" into tDbA["Host"]
put "recipes" into tDbA["Name"]
put "root" into tDbA["Username"]
put "" into tDbA["Password"]

libDatabase_RegisterDatabase "myrecipesdb", tDbA

libDatabase_Connect "myrecipesdb"

libDatabase_GetDBConnectionID("myrecipesdb")

Robert,

It looks like you are using the version 1 syntax. You should download version 2 of libDatabase if you are just getting started with it.

Then syntax in 2.0 would be:

libdb_registerDatabase "myrecipesdb", tDbA
libdb_connect "myrecipesdb"
put libdb_getConnectionID("myrecipesdb") into theConnectionID

--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[EMAIL PROTECTED]


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to