View Single Post
Old 11-22-2000, 12:06 AM   #3
albling
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.
albling is offline   Reply With Quote