Turning compression on

Alex Lindsay alindsay at mac.com
Sat Feb 12 23:24:06 CST 2005


Thank you,

Alex Lindsay
On Feb 4, 2005, at 10:50 AM, Ivan Smahin wrote:

> 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
>
> _______________________________________________
> Valentina-beta mailing list
> Valentina-beta at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina-beta



More information about the Valentina-beta mailing list