Pull the data out as a string, then re-assign the string using .SubString() to insert the hyphen(s) in the correct places. For Example:Code:Dim myString As String = "123456" myString = myString.SubString(0I, 3I) & "-" & myString.SubString(3I, 3I) 'myString is now "123-456"



LinkBack URL
About LinkBacks




Reply With Quote

atabase Password=testaopupdate"
Bookmarks