Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying different items on a single line in a Textbox

Status
Not open for further replies.

loubee

Technical User
Mar 3, 2002
4
GB

I am trying to make up a Frequency Display by using a Textbox.
Example: Freq 117.95

The individual digits are generated in my case from
1 Count1
1 count2
7 count3
9 count5
5 count6

I have tried various methods but only get individual digit or the sum of all.

What I need is the code to interpret.

Text1.text ="Freq"count1,count2,count3"." Count4, Count5,count6

Thanks

Lou B
 
Text1.Text = "Freq " & count1 & count2 & count3 & "." & count4 & count5 & count6

Is that what you mean?

Andy
 
Hi Andy
Thanks for your quick response.
Yes that is the format I require.

If you were suggesting the line as suitable code, I tried it and got a error message "Expected end of statement" after
Text1.Text="Freq"

Regards

Lou
 
Hi Andy

Me again SORRY.
My mistake I missed out the & after "Freq". It now works fine.
Sincere thanks.
Lou B.
ps Can I put my mistake down to OLD age <Bg>


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top