temporary ram tables
Ivan Smahin
ivan_smahin at paradigmasoft.com
Tue Jul 20 11:49:40 CDT 2010
Hello jda,
Tuesday, July 20, 2010, 7:37:30 PM, you wrote:
> 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
You got a RW cursor with no records.
> myCursor.SetBlank
> myCursor.Field("id").SetString("5")
> ...
> i get an exception when I try this, though:
> myCursor.updateRecord
Why updaterecord? why not AddRecord?
There is no record in cursor yet - which one you are goinf to update?
> Why? How can I create multiple records in a RAM table?
Adding them - nothing special.
--
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com
More information about the Valentina
mailing list