Reduced to Macros FindStatMacro and DatabaseLog