Deleted unused code
combine data into table
Dave data to DB table, BG boolean (TRUE/ FALSE) stored as character in DB