flt = "a编码 = '"& e.DataRow("a编码") & "' And "b编码 = '"& e.DataRow("b编码") & "' And "c编码 = '"& e.DataRow("c编码") & "' And [_Identify] <> " & e.DataRow("_Identify") max = e.DataTable.Compute("Max(单据编码)",flt) '取得该列别的最大单据编号
flt好像写错了,请大家帮忙看看。哪里有错。