PC Review


Reply
Thread Tools Rate Thread

concatenation in a label

 
 
Murt
Guest
Posts: n/a
 
      16th Dec 2003
How can I concatenate a string in the below label,

sportype is my string

thank you,

'Display label

lblsports.Text = "Data for the sport type" sporttype


 
Reply With Quote
 
 
 
 
Jan Tielens
Guest
Posts: n/a
 
      16th Dec 2003
Sure you can :-)

lblsports.Text = "Data for the sport type" & sporttype


--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Murt" <(E-Mail Removed)> schreef in bericht
news:uLuBBD$(E-Mail Removed)...
> How can I concatenate a string in the below label,
>
> sportype is my string
>
> thank you,
>
> 'Display label
>
> lblsports.Text = "Data for the sport type" sporttype
>
>



 
Reply With Quote
 
Smudger
Guest
Posts: n/a
 
      16th Dec 2003
>lblsports.Text = "Data for the sport type" & sporttype

 
Reply With Quote
 
=?Utf-8?B?UmljaGFyZDUwNg==?=
Guest
Posts: n/a
 
      16th Dec 2003
Why don't you label it so it makes good English. like this
lblsports.Text = "Data for " & sporttype & ", listed below."
 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      16th Dec 2003
Hi Murt,

You get a lot of answers I think

lblsports.Text = "Data for the sport type " & sporttype

Cor
> How can I concatenate a string in the below label,
> sportype is my string
> thank you,
> 'Display label
> lblsports.Text = "Data for the sport type" sporttype





 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      16th Dec 2003
* "Murt" <(E-Mail Removed)> scripsit:
> How can I concatenate a string in the below label,
>
> sportype is my string
>
> thank you,
>
> 'Display label
>
> lblsports.Text = "Data for the sport type" sporttype


\\\
lblSports.Text = "Data ... type" & sporttype
///

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
 
Reply With Quote
 
Murt
Guest
Posts: n/a
 
      16th Dec 2003
thanks all that did the trick,


"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:brng1t$5e526$(E-Mail Removed)...
> * "Murt" <(E-Mail Removed)> scripsit:
> > How can I concatenate a string in the below label,
> >
> > sportype is my string
> >
> > thank you,
> >
> > 'Display label
> >
> > lblsports.Text = "Data for the sport type" sporttype

>
> \\\
> lblSports.Text = "Data ... type" & sporttype
> ///
>
> --
> Herfried K. Wagner [MVP]
> <http://www.mvps.org/dotnet>



 
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
Label Wizard concatenation error UK Joanne Microsoft Access Reports 0 22nd Apr 2009 12:24 PM
Access 2003 Label Report - Text Position On Label Question Dermot Microsoft Access Reports 7 4th Dec 2008 01:06 AM
Word prints label in center of page instead of on select label =?Utf-8?B?R01vbQ==?= Microsoft Word Document Management 1 30th Aug 2006 08:23 PM
text box and label control sources and concatenation =?Utf-8?B?Sm9obkx1dGU=?= Microsoft Access Reports 2 25th Aug 2006 12:42 PM
Advice on label text concatenation during databinding GM Microsoft ASP .NET 3 25th Jul 2003 05:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:22 AM.