PC Review


Reply
Thread Tools Rate Thread

How to add text to a text box?

 
 
=?Utf-8?B?cG9rZGJ6?=
Guest
Posts: n/a
 
      16th Feb 2006
I would like to have a text box so that if certain conditions are met then it
will display multiple items in the box.
Here is an example

if me.text1 =1 then
me.display = add "Show1" to me.display
end if

if me.text4 = 4 then
me.display = add "Show4" to me.display
end if

if me.text5 = 5 then
me.display = add "Show5" to me.display
end if

So if text1 and text4 were true
me.display would have Show1 Show4 in it.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?T2Zlcg==?=
Guest
Posts: n/a
 
      16th Feb 2006
I'm not sure that this what you are looking for, but

if me.text1 =1 then
me.display = me.display & "Show1"
end if

--
\\// Live Long and Prosper \\//
BS"D


"pokdbz" wrote:

> I would like to have a text box so that if certain conditions are met then it
> will display multiple items in the box.
> Here is an example
>
> if me.text1 =1 then
> me.display = add "Show1" to me.display
> end if
>
> if me.text4 = 4 then
> me.display = add "Show4" to me.display
> end if
>
> if me.text5 = 5 then
> me.display = add "Show5" to me.display
> end if
>
> So if text1 and text4 were true
> me.display would have Show1 Show4 in it.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using TEXT and &TEXT - display numbers with commas, underline text Gary Microsoft Excel Misc 2 20th Dec 2009 12:52 AM
Find multiple text in a cell and return text and text location dlhochfam3 General Discussion 2 30th Apr 2009 09:46 PM
Change background color in one text box based on text in 2nd text Gnerks Microsoft Access Reports 4 4th Aug 2008 02:52 PM
text is not visible. Hidden text and white text not the problem suzie Microsoft Word Document Management 4 30th Jan 2008 08:15 AM
Re: extracting text from within a cell - 'text to rows@ equivalent of 'text to columns' Dan E Microsoft Excel Programming 4 30th Jul 2003 06:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 AM.