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!

Datagrid to Show Address Format

Status
Not open for further replies.

sila

Technical User
Aug 8, 2003
76
GB
Hi

I have a stored procedure that produces an postal address in the format:

My Street,
My Area,
This Town
MY POSTCODE

However this needs to be out put into a datagrid which doesn't seem to want to show the format in this way. Does anyone have any ideas why this might be?


Cheers
Sila
 
What format does it show it in? It may be that you have to manually add carriage returns.

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
Meant to say as an example that you could use the Replace function. e.g.
Code:
MyAddress = MyAddress.Replace(",","," & vbCrLf)

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top