动态添加框到Access Report [英] Adding boxes dynamicaly to Access Report

查看:78
本文介绍了动态添加框到Access Report的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我被困住了,希望有人可以帮助我。我的任务是创建几个大型调查。这些都是非常有条理的,因此我打算将调查问题和答案存储在表格中,并创建一个报告来生成调查。


问题的答案有3种类型。

选项列表,e,g 0 =否,1 =是,2 =不知道

这些答案按垂直列表排列


简单文字,例如输入你的名字。


数字和日期字段。现在,如果我可以在这个框中键入这些应该是什么样子,我的问题就会解决。


我想显示说,日月年

然后在下面画一些小盒子来输入数字。


多年前,预装窗口,字符集有很少的线条和角落,这样你就可以用asci值制作一个盒子,但不再是


我找不到任何可以在Print Format事件中运行的DRAW或BOX命令。


什么我需要的是报告查看要打印的记录,看看它是''BoxedDate''并为我创建这些框,位置正确。


任意想法请


哦,我正在使用Access 2003

TIA

Hi,
I''m stuck, and hope some one can help me. I am tasked with creating several huge surveys. These are all very structured and so I intend to store the survey questions and answers in tables and create a report to generate the survery.

There are 3 types of answer to the questions.
A list of options, e,g 0=No,1=Yes,2=Don''t know
These answers are arranged as a vertical list

Simple text, e.g. Enter your name.

Numbers and date fields. Now, if I could type into this box what these should look like, my problem would be solved.

I want to display say, Day Month Year
and then underneath draw little boxes to enter the numbers in.

Years ago, pre-windows, the char set had little lines and corners so that you could make a box out of asci values, but not anymore

I can''t find any DRAW or BOX command that I could run at the Print Format event.

What I need is for the report to look at the record to be printed, see that it is type ''BoxedDate'' and create these boxes for me, in the correct position.

Any ideas please

Oh, I am using Access 2003

TIA

推荐答案

只需订阅。


谢谢。
Just subscribing.

Thanks.


Lysander。


看看Report.Line方法。
Hi, Lysander.

Look at Report.Line method.





我被困住了,希望有人可以帮助我。我的任务是创建几个大型调查。这些都是非常有条理的,因此我打算将调查问题和答案存储在表格中,并创建一个报告来生成调查。


问题的答案有3种类型。

选项列表,e,g 0 =否,1 =是,2 =不知道

这些答案按垂直列表排列


简单文字,例如输入你的名字。


数字和日期字段。现在,如果我可以在这个框中键入这些应该是什么样子,我的问题就会解决。


我想显示说,日月年

然后在下面画一些小盒子来输入数字。


多年前,预装窗口,字符集有很少的线条和角落,这样你就可以用asci值制作一个盒子,但不再是


我找不到任何可以在Print Format事件中运行的DRAW或BOX命令。


什么我需要的是报告查看要打印的记录,看看它是''BoxedDate''并为我创建这些框,位置正确。


任意想法请


哦,我正在使用Access 2003

TIA
Hi,
I''m stuck, and hope some one can help me. I am tasked with creating several huge surveys. These are all very structured and so I intend to store the survey questions and answers in tables and create a report to generate the survery.

There are 3 types of answer to the questions.
A list of options, e,g 0=No,1=Yes,2=Don''t know
These answers are arranged as a vertical list

Simple text, e.g. Enter your name.

Numbers and date fields. Now, if I could type into this box what these should look like, my problem would be solved.

I want to display say, Day Month Year
and then underneath draw little boxes to enter the numbers in.

Years ago, pre-windows, the char set had little lines and corners so that you could make a box out of asci values, but not anymore

I can''t find any DRAW or BOX command that I could run at the Print Format event.

What I need is for the report to look at the record to be printed, see that it is type ''BoxedDate'' and create these boxes for me, in the correct position.

Any ideas please

Oh, I am using Access 2003

TIA



使用CreateControl()方法在报表上动态创建文本框,并将其边框样式设置为实体,以获得完美的定位和效果。

Use the CreateControl() Method to dynamically create Text Boxes on your Report, and set their Border Style to Solid for the perfect positioning and effect.


这篇关于动态添加框到Access Report的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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