SELECT ID, TeamType FROM teams WHERE ID = '#Client.TeamID#' Client.TeamProjectID = ''; Client.TeamAction = ''; Client.StatMsg = ''; Client.TeamCreate_TeamType = GetTeam.TeamType; UPDATE participants SET ActionFlag = 0