temporary ram tables

jda jda at his.com
Tue Jul 20 11:37:30 CDT 2010


I'm trying to fill a RAM table with about 10 records. I'm populating 
the records the SQL way, e.g.

   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")
      ...

i get an exception when I try  this, though:

      myCursor.updateRecord

Why? How can I create multiple records in a RAM table?

Thanks,

Jon



More information about the Valentina mailing list