adding to db varchar -> fails

jda jda at his.com
Fri Mar 18 16:58:57 CST 2005


Hi Ruslan,

I'm using the following code to add a preferences setting in an 
existing database:

     myCursor = new VCursor(localFormatDB, "select * from bibAndDoc 
where false", EVCursorLocation.kServerSide, EVLockType.kReadWrite)

     myCursor.setBlank(EVValueAccess.forAdd)
     myCursor.Field("propertyName").setString("myString")
     myCursor.Field("VarCharField").setString("YYY")
     call myCursor.addRecord


The field propertyName is added correctly, and I can find it. But 
when I fetch the VarCharField with getString it is empty (should be 
YYY).

Any ideas?

Thanks,

Jon


More information about the Valentina-beta mailing list