Dim t As Table = e.Table Dim st As String If t.Position < 0 Then st = "" Else If t.Rows(t.RowSel).IsGroup = False Then st = "序号 :" & t.Rows(t.Rowsel,True)("序") & ", 订单号:" & t.Rows(t.Rowsel,True)("报价") Else St = "数据汇总行" End If End If StatusBar.Message1 = st