Update openandquery.m

Added line to read all field names in the database.
Merge pull request #20 from kenvaz/patch-1

Update openandquery.m