Office中国论坛/Access中国论坛

标题: 报表! [打印本页]

作者: test    时间: 2002-4-29 12:18
标题: 报表!
斑竹好,有一个access问题请教:
每天记录几十个房间的租金,要求打印每个房间这个月每一天的租金及合计报表。
表名 table-,报表名 report-,上传给你们(为了形象,我上传了excel格式)。
用了12个查询才搞定难点了table-,但如何才能产生包括每一天并合并日期的报表!


table- :

日期        001        002        003        004        005        006        007        008        009        010
28        100        0        200        240        300        0        0        0        0       
29                0                                300        0        0        0        0
29        100        0        200        240        0        0        666        0        0       
30                0                        0        300        0        0        0       
30        0        0        100        240        0        0        0        0        0       





report-
日期        001        002        003        004        005        006        007        008        009        010        合计
1        0        0        0        0        0        0        0        0        0        0       
2        0        0        0        0        0        0        0        0        0        0       
3        0        0        0        0        0        0        0        0        0        0       
4        0        0        0        0        0        0        0        0        0        0       
5        0        0        0        0        0        0        0        0        0        0       
6        0        0        0        0        0        0        0        0        0        0       
7        0        0        0        0        0        0        0        0        0        0       
8        0        0        0        0        0        0        0        0        0        0       
9        0        0        0        0        0        0        0        0        0        0       
10        0        0        0        0        0        0        0        0        0        0       
11        0        0        0        0        0        0        0        0        0        0       
12        0        0        0        0        0        0        0        0        0        0       
13        0        0        0        0        0        0        0        0        0        0       
14        0        0        0        0        0        0        0        0        0        0       
15        0        0        0        0        0        0        0        0        0        0       
16        0        0        0        0        0        0        0        0        0        0       
17        0        0        0        0        0        0        0        0        0        0       
18        0        0        0        0        0        0        0        0        0        0       
19        0        0        0        0        0        0        0        0        0        0       
20        0        0        0        0        0        0        0        0        0        0       
21        0        0        0        0        0        0        0        0        0        0       
22        0        0        0        0        0        0        0        0        0        0       
23        0        0        0        0        0        0        0        0        0        0       
24        0        0        0        0        0        0        0        0        0        0       
25        0        0        0        0        0        0        0        0        0        0       
26        0        0        0        0        0        0        0        0        0        0       
27        0        0        0        0        0        0        0        0        0        0       
28        100        0        200        240        300        0        0        0        0                840
29        100        0        200        240        0        300        666        0        0                1506
30        0        0        100        240        0        300        0        0        0                640
31        0        0        0        0        0        0        0        0        0        0        0
合计        200        0        500        720        300        600        666        0        0        0        2986
文件下载
作者: test    时间: 2002-4-29 21:22
help
作者: tmtony    时间: 2002-4-30 02:06
生成一个查询,查询有一个计算字段为 001+002+003+004+005+006+007+008+009+010
然后在报表下端加入求和即可

作者: test    时间: 2002-4-30 06:59
My question was not explain clear. After hard work and try and tyr.I found the problem is very easy to take.
我已解决了!工作到了零成6点钟.
我还是缺少尝试

作者: test    时间: 2002-4-30 07:04
I had a new quesion now !
why my program had data window at the bottom when program was running ?
so anybody can use ctrl+w to close the dialoge and  see the data.
what should I do?
another quesiong: how to disable the menu?

by the way, Please tell me again.
tmtony , thank you.



作者: tmtony    时间: 2002-4-30 07:11
在启动里设置不显示数据窗体即可,取消显示其它菜单和工具条
再设置自己的菜单




欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3