Modified prepare view to work when use database is not called first.  Also, made a few changes to get the new autofield list calculation to work.
Merge branch 'master' of https://github.com/steve-wilson/mySQL