fix Database result codes
cInputField accept empty fields as nonexistent fields
update comment