按钮公式:
AddCol(GridName,"p",3, False ) And EvalFor(GridName,"p","FindRow(""表2"",""第一列"",""="",[第一列]) <= 0") And DelFor(GridName,"p","=",-1) And DeleteCol(GridName,"p")