connecting to 3.2 valventina database with rev
    Robert Mann 
    robmann at gp-racing.com
       
    Wed Aug 29 15:30:01 CDT 2007
    
    
  
I tried valentina3 did not work
Tracing my steps back I was running valentina 2.5.6 reloaded this works fine
-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Robert Mann
Sent: Wednesday, August 29, 2007 3:34 PM
To: valentina at lists.macserve.net; use-revolution at 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
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina
    
    
More information about the Valentina
mailing list