Added DB field to track if BASE or not.

Corrected recordset due to changes in VS12 versions.