Turning compression on

Ivan Smahin IvanSmahin at public.kherson.ua
Fri Feb 4 20:50:24 CST 2005


Hello jda,

Thursday, February 3, 2005, 11:39:19 PM, you wrote:


j> Hi Ruslan,

j> I have a db in which no text fields are compressed. I want to change
j> this for one text field.

j> In my project, in the baseobject declaration, I add this line:

j>         abstract.isCompressed = true

j> When I run it, the old db opens fine.


j> But if I do it this way

j>        abstract = CreateTextField("abstract", 128, EVFlag.fCompressed
j> + EVFlag.fNullable + EVFlag.fIndexed + EVFlag.fIndexByWords)

j> I get a nil object error when I run try to open the db.

j> Moreover, if I make a new db and try to create a new record  -> crash.

j> So, should we avoid the EVFlag.fCompressed flag and use 
j> isCompressed=true after the field has been created? Or should I 
j> report this (minor) issue on Mantis?

j> Jon
j> _______________________________________________
j> Valentina-beta mailing list
j> Valentina-beta at lists.macserve.net
j> http://lists.macserve.net/mailman/listinfo/valentina-beta

It's fixed already - just a couple days ago.
(id=370)

-- 
Best regards,
 Ivan                            mailto:IvanSmahin at public.kherson.ua



More information about the Valentina-beta mailing list