显示长文本 [英] display of long text

查看:83
本文介绍了显示长文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!!!

我需要在一个单词

文件中显示两页长度的免责声明。我还需要格式化文本。打开应用程序时,这个想法就像

跟随


一样,这个表格用作启动画面,

免责声明应用程序显示。现在我遇到的问题是b / b
显示的免责声明实际上是两页

页面长,它也应该格式化。使用文本框似乎不是可能的,因为它不能容纳整个免责声明。控件

,其中显示免责声明需要有垂直

滚动条。我没有丰富的文本框。无论如何我可以使用

任何其他控制。可以使用子表单或子报表吗?


我面临另一个奇怪的问题,这与主要的

表格和链接的子表单有关。 main和子表单都是绑定表单。

子表单通过使用masterkey和子

键链接到主表单。我注意到的奇怪的是,当在

子表格中输入任何数据时,在主表单中输入任何数据,该记录将保存在子表单中,而没有任何有效的相关记录被保存在主要的

表中,导致孤儿记录。如何以这样的方式控制和设置它只有在主表中保存记录时(从

主窗体中),输入的数据子窗体需要存储在

相关表中,当主窗体中没有输入数据时,如果在子窗体中输入任何数据

则它不应该是存储。


提前提前。祝你有美好的一天


bala

hi!!!

i need to display a disclaimer which is two page in length in a word
document. i also need to format the text. the idea is something as
follows

on opening the application, a form which serves as splash screen with
the disclaimer of the application is shown. now the problem i am
running into is in the display of the disclaimer which is really two
page long and it should be formatted too. using a textbox seems not
possible as it doesn''t accomodate the whole of disclaimer. the control
in which the disclaimer is to be displayed need to have vertical
scrollbar. i don''t have rich textbox. is there anyway i can do it using
any other control. can it be done using subform or subreport?

there is another weird problem i am facing and this is related to main
form and a linked subform. both the main and subform are bound forms.
the subform is linked to main form by using the masterkey and child
key. the weird thing i notice is that when any data is entered in the
subform which entering any data in the mainform the record get saved in
the subform without any valid related record being saved in the main
table leading to orphan record. how do u control and set it in such a
way that only if a record is being saved in the main table (from the
main form), the data entered in the subform need to be stored in the
related table, when no data is entered in the mainform and if any data
is entered in the subform it shouldn''t be stored.

thanx in advance. have a great day

bala

推荐答案

2005年2月21日11:09: 10 -0800,bala < BA ***** @ gmail.com>写道:


富文本框附带Windows。你应该拥有它。

另一种是Web浏览器控件; IE附带。


您的数据库设计需要增强。在父表和子表之间建立一个参考

完整性链接,并检查

框以强制执行它。子表中的外键值

通常应该是必填字段。


-Tom。

On 21 Feb 2005 11:09:10 -0800, "bala" <ba*****@gmail.com> wrote:

Rich textbox comes with Windows. You should have it.
An alternative is a Webbrowser control; comes with IE.

Your database design needs to be enhanced. Build a referential
integrity link between the parent table and the child table, and check
the box to enforce it. Also the foreign key value in the child table
should typically be a required field.

-Tom.

嗨!!!

我需要在单词
文档中显示两页长度的免责声明。我还需要格式化文本。这个想法是关于打开应用程序后面的内容,一个用作启动画面的表单,显示应用程序的免责声明。现在我遇到的问题是在免责声明的显示中,这实际上是两页长,它也应该格式化。使用文本框似乎不可能,因为它不能容纳整个免责声明。要显示免责声明的控件需要有垂直滚动条。我没有丰富的文本框。无论如何,我可以使用
任何其他控件来做到这一点。可以使用子表单或子报表来完成吗?

我面临另一个奇怪的问题,这与主要的
表单和链接的子表单有关。主窗体和子窗体都是绑定窗体。
子窗体通过使用masterkey和child
键链接到主窗体。我注意到的一个奇怪的事情是,当在
子表单中输入任何数据时,在主表单中输入任何数据时,记录将保存在子表单中,而没有任何有效的相关记录保存在主表单中。 >表导致孤儿记录。如何以这样的方式控制和设置它,即只有在主表中保存记录时(从
主表单),在子表单中输入的数据需要存储在
相关表格,当在主窗体中没有输入数据时,如果在子窗体中输入了任何数据,则不应该存储它。

提前。祝你有美好的一天

bala
hi!!!

i need to display a disclaimer which is two page in length in a word
document. i also need to format the text. the idea is something as
follows

on opening the application, a form which serves as splash screen with
the disclaimer of the application is shown. now the problem i am
running into is in the display of the disclaimer which is really two
page long and it should be formatted too. using a textbox seems not
possible as it doesn''t accomodate the whole of disclaimer. the control
in which the disclaimer is to be displayed need to have vertical
scrollbar. i don''t have rich textbox. is there anyway i can do it using
any other control. can it be done using subform or subreport?

there is another weird problem i am facing and this is related to main
form and a linked subform. both the main and subform are bound forms.
the subform is linked to main form by using the masterkey and child
key. the weird thing i notice is that when any data is entered in the
subform which entering any data in the mainform the record get saved in
the subform without any valid related record being saved in the main
table leading to orphan record. how do u control and set it in such a
way that only if a record is being saved in the main table (from the
main form), the data entered in the subform need to be stored in the
related table, when no data is entered in the mainform and if any data
is entered in the subform it shouldn''t be stored.

thanx in advance. have a great day

bala








bala写道:

bala wrote:
嗨!!!

我需要在单词
文档中显示两页长度的免责声明。我还需要格式化文本。这个想法是关于打开应用程序后面的内容,一个用作启动画面的表单,显示应用程序的免责声明。现在我遇到的问题是在免责声明的显示中,这实际上是两页长,它也应该格式化。使用文本框似乎不可能,因为它不能容纳整个免责声明。要显示免责声明的
控件需要有垂直滚动条。我没有丰富的文本框。无论如何我可以使用任何其他控件来做
。可以使用子表单或子报表吗?


在表单上放置一个OLE框架?
我面临另一个奇怪的问题,这与
主窗体和链接子窗体有关。主窗体和子窗体都是绑定窗体。
子窗体通过使用masterkey和child
键链接到主窗体。我注意到的一个奇怪的事情是,当在
子表单中输入任何数据时,在主表单中输入任何数据时,记录在子表单中保存
,而没有任何有效的相关记录保存在主
表导致孤儿记录。如何以这样的方式控制和设置它,即只有在主表中保存记录时(从
主表单),在子表单中输入的数据需要存储在
相关表格,当主窗体中没有输入任何数据,并且如果在子窗体中输入任何
数据则不应存储。
hi!!!

i need to display a disclaimer which is two page in length in a word
document. i also need to format the text. the idea is something as
follows

on opening the application, a form which serves as splash screen with
the disclaimer of the application is shown. now the problem i am
running into is in the display of the disclaimer which is really two
page long and it should be formatted too. using a textbox seems not
possible as it doesn''t accomodate the whole of disclaimer. the control in which the disclaimer is to be displayed need to have vertical
scrollbar. i don''t have rich textbox. is there anyway i can do it using any other control. can it be done using subform or subreport?
Put an OLE frame on your form?
there is another weird problem i am facing and this is related to main form and a linked subform. both the main and subform are bound forms.
the subform is linked to main form by using the masterkey and child
key. the weird thing i notice is that when any data is entered in the
subform which entering any data in the mainform the record get saved in the subform without any valid related record being saved in the main
table leading to orphan record. how do u control and set it in such a
way that only if a record is being saved in the main table (from the
main form), the data entered in the subform need to be stored in the
related table, when no data is entered in the mainform and if any data is entered in the subform it shouldn''t be stored.



声明参考两个表之间的完整性。然后,如果您尝试使用
输入没有现有父记录的子数据,插入将自动失败。


Declare referential integrity between the two tables. Then if you try
to enter child data without an existing parent record, the insert will
automatically fail.


声明参照完整性(即在关系中检查

强制参照完整性)但是它仍然没有b $ b工作
well the referential integrity is declared (that is checking the
enforce referencial integrity in the relationship) but it still doesn''t
work


这篇关于显示长文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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