Cloning DB using RB API

Steve Albin steve at steve-albin.com
Fri Sep 5 09:11:51 CDT 2008


The Wiki says that the Clone procedure is called like this:
    
    Clone( 
    inTargetDb as FolderItem, 
    inLoadRecords as Boolean = true,
    inDoLog as Boolean = false )
    
If I try to invoke the inDoLog parameter, RB tells me there are too many parameters.  

i.e. this works:
      db.Clone(newDBFile, true)
      
this does not:
      db.Clone(newDBFile, true, true)
      
I would like to get the log for the clone.  Is this possible?

I am using V4RB 3.52 and RB2008r3 on the Mac.

Steve


    
-- 
Steve Albin - Montclair, NJ
http://www.jazzdiscography.com/
http://www.steve-albin.com/


More information about the Valentina mailing list