GeneralQueryReceive converted to QueryDatabase