[access报表]《打印格式如何控制横打》-小周
Access软件网QQ交流学习群(群号码198465573),欢迎您的加入!
首页 >技术文章> Access数据库-报表


[access报表]《打印格式如何控制横打》

发表时间:2009/5/20 8:31:18 评论(0) 浏览(5613)  评论 | 加入收藏 | 复制
   
摘 要:打印格式如何控制横打
正 文:

打印格式如何控制横打

Private Sub com_rpt_hue_exist_qry_cust_Click()
On Error GoTo Err_com_rpt_hue_exist_qry_cust_Click

 Dim stdocname As String
 Dim prt As Printer
 Set prt = Application.Printers(0)
 prt.PaperSize = acPRPSA4
 prt.Orientation = acPRORLandscape

 stdocname = "hue_exist_mount_qry_cust"
 DoCmd.OpenReport stdocname, acPreview
 Reports(stdocname).Printer = prt

Exit_com_rpt_hue_exist_qry_cust_Click:
Exit Sub
Err_com_rpt_hue_exist_qry_cust_Click:
MsgBox Err.Description
Resume Exit_com_rpt_hue_exist_qry_cust_Click

End Sub


Access软件网交流QQ群(群号:198465573)
 
 相关文章
[access报表]打印格式如何控制横打  【竹笛  2007/10/18】
[access报表]《打印格式如何控制横打》  【UMVSoft整理  2009/5/20】
常见问答
技术分类
相关资源
文章搜索
关于作者

小周

文章分类

文章存档

友情链接