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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append character in text box.

Status
Not open for further replies.

prodtest

Technical User
Aug 29, 2003
55
GB
Hi,
I need a text box that when data is placed in it, it adds a * character at the begining and end of the data typed in that text box i.e
1234 would become *1234*

any help gratefully accepted.

Cheers
Ben
 
Private Sub Text0_AfterUpdate()
Me.Text0.Value = "*" & Me.Text0.Value & "*"
End Sub

htwh,

Steve Medvid
"IT Consultant & Web Master"

Chester County, PA Residents
Please Show Your Support...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top