Hi Frank and list, I've found the error or bug... if I change the fieldType in the CreateTable_Person the query works eg Person.createStringField("fPerson_ID", [#fUnique]) -- ok Person.createShortField("fPerson_ID", [#fUnique]) -- not works with simple query please check this! Thanks Paolo