> > fld = >myDatabase.myReferences.createVarCharField("authorEditorSortMethod", >2000, "en_US", EVFlag.fNone, "IFNULL(authors), authors, >(IFNULL(editors),editors,title)") Final followup: on closer inspection, that syntax is incorrect. Using this IFNULL(authors, IFNULL(editors,title)) doesn't cause a crash. I think this is now correct. Jon