ontopofmalvern
Registered User.
- Local time
- Today, 05:56
- Joined
- Mar 24, 2017
- Messages
- 64
I have a table which has several text fields that I want to concat together in SQL with some formatting but after I have set the data source of text box to the concated string it will not allow me to set the format to RTF. So the text is unformatted and format tags are shown as plain stings (e.g. "plain<strong>BOLD,/strong>" instead of "plainBOLD").
I can only get the text box to accept RFT format if the source is either a single long text field OR the text string created by concating in a VBA function.
The former solution doesn't seem practical or efficient as it would effectively mean creating duplicate data in the table that would require updating each time one of the contributing fields is altered. The second solution works - but is slow (the form can have as many as 40+ such text boxes).
Ideally I want to be able to concat in the form's underlying SQL and the form just to see <strong> as a formatting tag rather than part of the string.
Any ideas, it feels this should be do-able, I think it should also be easy.
ps a poor compromise could be just concat in a character that will force a line break in plain text on an unformatted text box - but that would be a plan B.
I can only get the text box to accept RFT format if the source is either a single long text field OR the text string created by concating in a VBA function.
The former solution doesn't seem practical or efficient as it would effectively mean creating duplicate data in the table that would require updating each time one of the contributing fields is altered. The second solution works - but is slow (the form can have as many as 40+ such text boxes).
Ideally I want to be able to concat in the form's underlying SQL and the form just to see <strong> as a formatting tag rather than part of the string.
Any ideas, it feels this should be do-able, I think it should also be easy.
ps a poor compromise could be just concat in a character that will force a line break in plain text on an unformatted text box - but that would be a plan B.