[V4RB} How create table in converted db?

REALBasic rb at teknia.com
Sat Aug 23 19:01:54 CDT 2008


Okay. I've got the conversion from database format 1 to 2 working.  
Thanks for your help. But now I need to create a new table and field  
in the converted database. I suspect I am missing something obvious.  
Help?


// Convert

     Valentina.Convert_1_2(oldFolderitem, newFolderItem, true, "", "")

// Create Search table

     myDataBase = new dbDatabase
     myDatabase.Open( newFolderItem )

     tblSearches = myDatabase.CreateTable( "SEARCHES" )
     fldVersion = tblSearches.CreateShortField( "VERSION" )


It crashes when I try to open the new database.

Thanks again or your help.

Bill


More information about the Valentina mailing list