473,382 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

display of long text

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

Nov 13 '05 #1
11 4573
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.

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


Nov 13 '05 #2

bala wrote:
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.

Nov 13 '05 #3
well the referential integrity is declared (that is checking the
enforce referencial integrity in the relationship) but it still doesn't
work

Nov 13 '05 #4
hey tom

how do i get to access rich textbox with windows.

well as i replied to earlier post the referential integrity is being
enforced but the foreign key value in the child table is not a required
field, must it be made required cos i thought referential integrity
declaration should be enough.

bala

Nov 13 '05 #5
well the referential integrity is declared (that is checking the
enforce referencial integrity in the relationship) but it still doesn't
work

Nov 13 '05 #6
hey tom

how do i get to access rich textbox with windows.

well as i replied to earlier post the referential integrity is being
enforced but the foreign key value in the child table is not a required
field, must it be made required cos i thought referential integrity
declaration should be enough.

bala

Nov 13 '05 #7
On 21 Feb 2005 14:49:34 -0800, "bala" <ba*****@gmail.com> wrote:

On the Toolbox, click on the last button (toolbox plus 3 dots), and
scroll down to Microsoft Rich Text Control.

-Tom.

hey tom

how do i get to access rich textbox with windows.

well as i replied to earlier post the referential integrity is being
enforced but the foreign key value in the child table is not a required
field, must it be made required cos i thought referential integrity
declaration should be enough.

bala


Nov 13 '05 #8
On 21 Feb 2005 14:49:34 -0800, "bala" <ba*****@gmail.com> wrote:

On the Toolbox, click on the last button (toolbox plus 3 dots), and
scroll down to Microsoft Rich Text Control.

-Tom.

hey tom

how do i get to access rich textbox with windows.

well as i replied to earlier post the referential integrity is being
enforced but the foreign key value in the child table is not a required
field, must it be made required cos i thought referential integrity
declaration should be enough.

bala


Nov 13 '05 #9
Tom the MS RTF control is included with the MS Development platforms.
There is a free RTF control here:
http://www.lebans.com/richtext.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:7s********************************@4ax.com...
On 21 Feb 2005 14:49:34 -0800, "bala" <ba*****@gmail.com> wrote:

On the Toolbox, click on the last button (toolbox plus 3 dots), and
scroll down to Microsoft Rich Text Control.

-Tom.

hey tom

how do i get to access rich textbox with windows.

well as i replied to earlier post the referential integrity is being
enforced but the foreign key value in the child table is not a requiredfield, must it be made required cos i thought referential integrity
declaration should be enough.

bala


Nov 13 '05 #10
Tom the MS RTF control is included with the MS Development platforms.
There is a free RTF control here:
http://www.lebans.com/richtext.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:7s********************************@4ax.com...
On 21 Feb 2005 14:49:34 -0800, "bala" <ba*****@gmail.com> wrote:

On the Toolbox, click on the last button (toolbox plus 3 dots), and
scroll down to Microsoft Rich Text Control.

-Tom.

hey tom

how do i get to access rich textbox with windows.

well as i replied to earlier post the referential integrity is being
enforced but the foreign key value in the child table is not a requiredfield, must it be made required cos i thought referential integrity
declaration should be enough.

bala


Nov 13 '05 #11
hi guys

thanx for the pointers.

bala

Nov 13 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Thomas | last post by:
Hi there, a while ago, I posted a question regarding reading japanese text from a text file. Well, since I solved the problem, I thought I'd post my solution for the benefit of other people with...
4
by: hoke | last post by:
I want to display plain text files in the browser. The files contain html and javascript and have a .txt extension. This works fine with files with just html. Unfortunately when showing files with...
3
by: Adam | last post by:
I have an ASP page that will take form info that a user has entered, then save it into SQL server, and retrive and display the info on another page. My problem is with long text data (10,000 bytes...
1
by: Paul Thakur | last post by:
I am writing vbscript code in an .asp page. I need to display field values from a sql table consisting of several fields, one of them is of type "Long Text". This field contains XML data. I like to...
4
by: Tigrou | last post by:
Hello, In a Oracle Database i have text who are stored, this text are in RTF format, you can see an example below: {\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\froman\fcharset0...
0
by: Doots | last post by:
Hello, Since 2 months i'm looking for a solution for display rtf text in an aspx page. The only component who can do it is RichTextBox but it's too expensive. Then if anyone know a solution for...
1
by: Tracey | last post by:
Hi, there My application requires to display multiline text in the cell of datagrid. I set the preferredheight of datagrid's tablsstyle, however, it is fixed. For text longer than that, the rest...
3
by: jiayanxiang | last post by:
Is there any sample code to use Javascript to load and display a text file? It will be best if the user can select files using some kind of explorer. If that's complex, a text box to specify the...
1
by: JJ | last post by:
I am writing instruction to accompany my 'sendNewsletter' page. In the text I want to instruct the user that by writing <%username%> in the text, this placeholder will be replaced by the...
8
rblaettler
by: rblaettler | last post by:
I have two div's with a float:left attribute that I've put into a list. They should align horizontally, which they do as long as the text in them does not need to be wrapped. As soon as the area for...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.