ORDER BY - Total Success!

jda jda at his.com
Thu Jan 23 15:12:57 CST 2003


>
>
>//now create method NOT indexed by words and return uppercased (for 
>case insensitive search/sort)
>   myFieldSortMethod = new VText("myFieldSortMethod", 128, "English", 
>kV_Indexed)
>   myFieldSortMethod.SetMethod("Upper(myField)")
>
>However, there is an understandable error in this. The .SetMethod 
>statements should be:
>
>myFieldMethod.SetMethod("Upper(title)")
>
>and
>
>myFieldSortMethod.SetMethod("Upper(title)")
>
>Thanks to everyone for the help. I think I'm on the right track now.
>
>Rick
>

Yeah, I thought I changed all the 'title's to 'myField's (was trying 
to send generic code). I see I missed one. Sorry about that.

Jon


More information about the Valentina mailing list