Can't create method

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Jan 18 22:44:09 CST 2004


on 1/18/04 10:38 PM, jda at jda at his.com wrote:

> Hi,
> 
> I must be doing something stupid -- I can't add a new method to my
> existing database. The code is
> 
>  authorEditorSortMethod = new VVarChar("authorEditorSortMethod",
> 128, "English", kV_Indexed)
>    authorEditorSortMethod.SetMethod("Upper(if (length(authors)=0, if
> (length(editors)=0,title,editors),authors))")
> 
> I create a new database and try to populate it -- updating records
> (cursor method) fails, and ultimately I get a crash. And of course
> this is with a fresh database.

Hi Jon,

First of all check your db in the VAPP to see if method was created,
With the same formula as you want.

Next, add in VAPP some data in new record,
And check if method calculate correct value.



-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list