I tried valentina3 did not work

Tracing my steps back I was running valentina 2.5.6 reloaded this works fine




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Mann
Sent: Wednesday, August 29, 2007 3:34 PM
To: [EMAIL PROTECTED]; use-revolution@lists.runrev.com
Subject: connecting to 3.2 valventina database with rev

Valentina 3.2 

 

I am getting the following error on the converting valentina connection id
to revdb connection id

 

revdberr,invalid database type

 

with the follow script

 

  put 20 * 1024 * 1024 into theCacheSize

    put empty into theMacSerialNumber

    put fld "serial" into theWinSerialNumber

    put "xxxx" into theEncryptionKey

    get Valentina_Init(theCacheSize, theMacSerialNumber, theWinSerialNumber)

    put VDatabase_Constructor("kDisk") into theConnectionID

    get VDatabase_UseEncryptionKey(theConnectionID, theEncryptionKey,
"kStructureAndRecords")

    get VDatabase_Open(theConnectionID, dbPath)

    

    ## SOME BASIC ERROR CHECKING

    IF VDatabase_ErrNumber(theConnectionID) is not 0 THEN

        IF VDatabase_ErrNumber(theConnectionID) < 0 THEN

            put "OS error ("& VDatabase_ErrNumber(theConnectionID) &")" into
theError

        ELSE

            put VDatabase_ErrString(theConnectionID) into theError

        END IF

        

        answer "Error connecting to valentina:" && theError

        exit to top

    END IF

     

    ## NOW WE CONVERT THE VALENTINA CONNECTION ID TO A REVDB CONNECTION ID

    ## SO THAT WE CAN USE THE REVDB FUNCTIONS

    put revOpenDatabase("Valentina2","",theConnectionID,"","") into dbID
----this is where I get the error

 

    put dbID into fld "dbID"

 

 

any ideas as to why?

_______________________________________________
Valentina mailing list
[EMAIL PROTECTED]
http://lists.macserve.net/mailman/listinfo/valentina

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

Reply via email to