1,216
社区成员
发帖
与我相关
我的任务
分享
Do While Not Adodc4.Recordset.EOF
If i > 29 Then
Printer.Print " ┌────┬───┬───┬─────────┬────┬──────┬───────────┐"
Printer.Print " │ 车牌 │公里 │ 油费 │ 地址 │司机编号│ 姓名 │ 日期时间 │"
Printer.NewPage
i = 0
End If
Printer.Print " ├────┼───┼───┼─────────┼────┼──────┼───────────┤"
Printer.Print Tab(2); "│"; Adodc4.Recordset.Fields("车牌"); Tab(12); "│"; Adodc4.Recordset.Fields("公里"); Tab(20); "│"; Adodc4.Recordset.Fields("油费"); Tab(28); "│"; Adodc4.Recordset.Fields("地址"); Tab(48); "│"; Adodc4.Recordset.Fields("司机编号"); Tab(58); "│"; Adodc4.Recordset.Fields("姓名"); Tab(72); "│"; Adodc4.Recordset.Fields("日期"); Tab(96); "│"; ""
Adodc4.Recordset.MoveNext
i = i + 1
Loop