You can also manually edit the avast4.ini file (using a text editor) and change database=odbc to database=xml, this is in the [Common] section, if you can't get into the program Settings mentioned above.
C:\Program Files\Alwil Software\Avast4\avast4.ini