temporary fields

jda jda at his.com
Thu Jan 17 10:44:52 CST 2008


Hi Ruslan,

I've been using temporary fields for methods that I want to create 
and then dispose of immediately. I thought these are in RAM only, and 
aren't written to the db.

But I've found that in some cases after a crash that the temp method 
is still there, and so when I create it again I get a -39 error 
(VError -> method already exists).

Here's how I'm creating a temp method:


dim fld as VVarChar

  fld = 
myDatabase.myReferences.createVarCharField("authorEditorSortMethod", 
1000, EVFlag.fTemporary, "coalesce(authors,editors)")


Is this correct? Am I making an incorrect assumption?

Thanks,

Jon


More information about the Valentina mailing list