| 发表于:2007-01-06 17:27:14 楼主 |
3列10行的数据,我把第一列列宽缩小到0,不想在那列添加数据,背景不好看 with mshflexgrid1 .cols = 4 .rows = 11 end with j = 1 do until rs.eof for i = 1 to rs.fields.count - 1 mshflexgrid1.textmatrix(j, i) = rs.fields(i- 1).value next i rs.movenext j = j + 1 loop 错误语句: mshflexgrid1.textmatrix(j, i) = rs.fields(i - 1).value 出现问题:超出范围 只要正解者就给100,不够另外开贴发分!! |
|
|
|
|