Changed to support filtering by date and various difference between
3dcart's backend DB's (ACCESS vs SQL)