How do I clone with a database parameter? I'm trying to change the segment size with cloning.
dim theDialog as new OpenDialog
theDialog.PromptText = kSelectClone
theDialog.Filter = FileTypes.DB
dim CloneFolderitem as FolderItem = theDialog.showModal
if CloneFolderitem = nil then Return
dim ValentinaDB as new VDatabase
ValentinaDB.open(CloneFolderitem)
if ValentinaDB = Nil then Break
theDatabase.Clone(ValentinaDB, True)
theDatabase is the database I want to clone. ValentinaDB is an database with only a schema and no records. However, no cloning is done. ValentinaDB is as empty as before.
What am I doing wrong? Valentina Studio doesn't support this type of cloning or I'd try it there.
As usual: Mac OS 10.11.6. Xojo 2016t1, Valentina latest.
Mit freundlichen Grüßen/Regards
Beatrix Willius
http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals