In Reference to thread705-22237 I have a similar problem.
I Use a data field containg strings with dashes, A social
security number for example.
With a Social the solution seems simple:
break the string and concat it with the '-'.
I also use other numbers with inconsistant lengths such as
123-123-12
123-12-123
123-123-1234
When I pull the value from a table into a record set these would translate to:
12312312
12312123
1231231234
I NEED THESE DASHES
Obviously concating the string wouldn't work because the lengths between the breaks are inconsistant.
Is there a way to FORCE a query to return a string INCLUDING the dashes?
I Use a data field containg strings with dashes, A social
security number for example.
With a Social the solution seems simple:
break the string and concat it with the '-'.
I also use other numbers with inconsistant lengths such as
123-123-12
123-12-123
123-123-1234
When I pull the value from a table into a record set these would translate to:
12312312
12312123
1231231234
I NEED THESE DASHES
Obviously concating the string wouldn't work because the lengths between the breaks are inconsistant.
Is there a way to FORCE a query to return a string INCLUDING the dashes?