打印时MS Access日历错误 [英] MS Access Calendar Error when Printing

查看:68
本文介绍了打印时MS Access日历错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我在尝试打印时收到错误消息。


我正在使用此处的MS访问日历:

http://bytes.com/topic /access/answer...ccess-calendar


我有Windows 8和Office / Access 2013.我在桌面数据库中使用它并希望转移它将来用于网络数据库。


我想打印这个日历。我还没有办法报告,所以我试图打印表格。每当我打开一个表(或其他任何东西)从那时开始选择打印和相同的错误消息时,我收到一条错误消息。一旦我关闭并重新打开数据库,一切都很好,直到我尝试打印。


错误信息:

错误inPopulateCalendar()

无效使用Null


有解决方案吗?


感谢您的时间。

解决方案

您是否尝试过:

展开 | 选择 | Wrap | 行号


我非常非常新。不,我没有尝试,但我现在 - 我想。


我不确定我应该怎么做这段代码。我以为我应该选择横向或纵向,而不是同时使用两者,尽管我确实尝试了两者。我使用打印机名称的确切方式是在打印机下拉菜单中选择要打印的打印机。我在日历表单上创建了一个命令按钮,并在单击时输入以下代码。

展开 | 选择 | Wrap | 行号


删除第一个和最后一个,如下所示:

展开 | 选择 | Wrap | 行号

Hi,

I am getting an error message when trying to print.

I am using the MS access calendar found here:

http://bytes.com/topic/access/answer...ccess-calendar

I have Windows 8 and Office/Access 2013. I am using this in a desk top database and would like to transfer it to a web database in the future.

I want to print this calendar. I haven''t found a way to make a report so I tried to print the form. I get an error message when I select print and the same error message each time I open a table (or anything else) from then on. Once I close and reopen the database, all is good again until I try to print.

Error message:
Error inPopulateCalendar()
Invalid use of Null

Is there a solution for this?

Thanks for your time.

解决方案

Have you tried:

Expand|Select|Wrap|Line Numbers


I am very, VERY new at this. No I hadn''t tried but I have now - I think.

I am not sure what I was supposed to do with this code. I assumed I should pick either the landscape or portrait, not use both, though I did try with both. I used the printer name exactly how it is displayed on the printer drop down where I choose which printer to print with. I made a command button on the calendar form and entered the below code in the on click.

Expand|Select|Wrap|Line Numbers


Remove the first and the last ", like this:

Expand|Select|Wrap|Line Numbers


这篇关于打印时MS Access日历错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆