I thought it would be just passing the info to the libdb_getSQLDump function
as in the libdb_registerDatabase

I also thought that if you put a value in the last parameter mysqldump.sql
it would write it to a file



ON DoMysqlDump

    put "empty"  into theInfoA["pTables"]
    put "empty"     into theInfoA["pDrop"]
    put "true"         into theInfoA["pCreate"]
    put "true"              into theInfoA["pInsert"]
    put "empty"      into theInfoA["pVersion"]
    put "mysqldump.sql"  into theInfoA["pOutFile"]


    libdb_getSQLDump "SuspensionDB",theInfoA

END DoMysqlDump


Robert Mann


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Trevor
DeVore
Sent: Monday, January 01, 2007 9:26 PM
To: How to use Revolution
Subject: Re: mysql to valentina using libdatabase


On Jan 1, 2007, at 6:15 PM, Robert Mann wrote:

> ON DoMysqlDump
>     libdb_getSQLDump ("SuspensionDB","empty" ,"empty" , "true",
> "true","empty" , "mysqldump.sql")//tried this with and without the
> () no
> difference still get error
>
> END DoMysqlDump

libdb_getSQLDump is a function but you are using it like a command.
You have to put the value somewhere:

put libdb_getSQLDump(...) into myVariable

OR

get libdb_getSQLDump(...) // puts value into the "it" variable

--
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

_______________________________________________
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