[求助]怎么使用TAB函数制作表格
我用TAB函数和PRINT一起制作个表格,但是在同个输出行里不能显示我要显示的东西,反而有个项目跳到了下一输出行去实现,不知道为什么?希望大家帮帮忙!代码如下:t(1) = 1: t(2) = 13: t(3) = 23: t(4) = 29: t(5) = 41: t(6) = 51
frmPrint.Print "┃"; Trim(.Fields(1).Name);
For i = 2 To .Fields.Count - 1
frmPrint.Print Tab(t(i)); "│"; Trim(.Fields(i).Name)
Next
frmPrint.Print "┃"; Trim(.Fields(1).Name);
For i = 2 To .Fields.Count - 1
frmPrint.Print Tab(t(i + 3)); "│"; Trim(.Fields(i).Name)
Next
frmPrint.Print Tab(57); "┃"
不知道错误在哪里?