temporary ram tables

jda jda at his.com
Tue Jul 20 12:14:13 CDT 2010


>
>
>>  Hi Ivan,
>
>>  Yes, of course you're right. But I'm getting an exception on
>
>>       call myCursor.AddRecord
>
>
>>  too. The exception is
>
>>       365829
>
>>  Do you know what that means?
>
>ERR_OS_FILE_NOT_OPEN
>
>SHOW VERRORS
>

OK, but that error message doesn't tell me what I'm doing wrong. What 
do I have to do to avoid the error?

I am doing this

   tempDB = new MyDatabase(EVStorageType.kRAM)
       myCursor = new VCursor(tempDB, "select * from table1 where 
false", EVCursorLocation.kServerSide, EVLockType.kReadWrite) //make 
an empty cursor
     myCursor.SetBlank

     myCursor.Field("id").SetString("5")
     call myCursor.addRecord

What am I leaving out? Do I need a create database command? I thought 
not, because it's in RAM...

Jon


More information about the Valentina mailing list