hansu
Programmer
- Mar 12, 2002
- 89
Can anyone advise with the following problem:
In my application one column in a DataGrid contains text with carriage returns. (from an Access table) The carriage returns must be kept since they are used for printing the data.
The only thing I'd like to avoid is that they are displayed in the grid as two vertical lines. Which happens although WrapText is set to True.
I tried:
This doesn't work.
Thanks for your assistance.
In my application one column in a DataGrid contains text with carriage returns. (from an Access table) The carriage returns must be kept since they are used for printing the data.
The only thing I'd like to avoid is that they are displayed in the grid as two vertical lines. Which happens although WrapText is set to True.
I tried:
Code:
dgrPos.Columns(1) = Replace(dgrPos.Columns(1), "||", "& VBCRLF &")
Thanks for your assistance.