temporary ram tables - solved

jda jda at his.com
Tue Jul 20 14:24:42 CDT 2010


>>
>
>Hi Ruslan,
>
>OK, how?
>
>db.create requires a file (folderItem)
>
>db.open requires a file (folderItem)
>
>How do you create, populate, and use a db in RAM???
>
>Jon


OK, I seem to have a solution.

I added these lines after the new database:

   f = GetFolderItem("Database123.vdb")
   refDB.Create( f, EVdbMode.kDscDatBlbInd , 8 * 1024 )

And that seemed to do the trick. No file was created. So far it seems 
to be working...

Thanks,

Jon


More information about the Valentina mailing list