|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Aug 2000
Posts: 372
|
Hi, i need help, this is a simple project but i have no idea. There is one text box for entering your name, then i want a label box to display it. So it works like this
enter name text1 John Doe label1 Doe, John I would use a command button to make this work. Does anyone know what the code it to do that? |
|
|
|
|
|
#2 | |
|
Member (3 bit)
Join Date: Nov 2000
Posts: 6
|
Quote:
|
|
|
|
|
|
|
#3 |
|
Member (5 bit)
Join Date: Apr 1999
Posts: 20
|
farha,
I think it would be a better idea to have 2 or 3 text boxes to store the name of the user, for example: txtFirstName and txtLastName. The reason for this is because you will never know if the user may entered their name differently in different manners. Then to display the names, in reversed format, the coding is simply, lblOutput.Caption = trim(txtFirstName.Text) & ", " & _ trim(txtFirstName.Text) The trim function is to remove any blank space in front and behind the text. I hope this helps. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|