Ruslan, what's wrong with this statement? u = db.VTable("references").fieldCount (was u = db.VBaseObject("references").fieldCount in V1.x) Jon