Dim t As Table = Tables("susrnydcge")
If t.Rows.Count = 0 Then
Return
Else
Dim a = t.Current
Dim c As strig = "nydc"
With Tables("nyfgge")
For i As Integer = 1 To 10
.Cols(c & i).Caption = a(c & i)
.Cols(c & i).Visible = (a.Isnull(c & i) = False)
Next
End With
End If
[此贴子已经被作者于2017/3/14 22:11:12编辑过]