[求助]我又来提问了哈
Dim strSQL, str1 As StringDim ADOrs As New Recordset
ADOrs.ActiveConnection = ADOcn
strSQL = "select * from phone"
ADOrs.Open strSQL
str1 = "联系人" + vbTab + "QQ" + vbTab + "手机" + vbTab + "座机" + vbTab + "出生日期"
With MSFlexGrid1
.Clear
.Rows = 0
.Cols = 5
.AddItem str1
Do While Not ADOrs.EOF
str1 = ADOrs.Fields(0) + vbtab+ADOrs.Fields(1)'这儿为什么说adors.fields(1)是NULL,我明明定义了4个字段呀
.AddItem str1
ADOrs.MoveNext
Loop
.FixedRows = 1
End With