Hello guys,
Recently I came across this problem and couldn't really find a solution on the internet so I decided to share my experience about it here.
I made an invoice access report which contains a memo text field in the report footer. However, whenever the text would be longer than 255 characters the report would only show maximum 255 characters.
I found somewhere that the query behind the report might be the cause when using grouping, DISTINCTROW, DISTINCT... I didnt use any of it, it was just a simple query, so it was of no help to me.
The next thing I found was to change the text filed from Plain Text to Rich Text, what wasnt of any help either.
Then I found somewhere that moving the text field to the detail section helps, so I tried it and yes, it did work, it showed all the characters.
However, the text field wasnt really of any use to me in the detail section, I needed it in the report footer section.
I also tried it in the Page footer section, it also worked there but again, I needed it in the Report footer section.
The solution was simple:
I left the text box in the Page footer section and set it to Visible = False (lets name the text box, txtBoxPageFooter). After that I added a new unbound text field (lets name it txtBoxReportFooter) to the Report footer and set its Can Grow and Can Shrink properties to Yes (irrelevant, well, depending on the control size).
Last thing I did was simply adding a piece of code to the report on load event.
And thats it.
Pretty easy, yes but who knows... Someone might find it helpful
Recently I came across this problem and couldn't really find a solution on the internet so I decided to share my experience about it here.
I made an invoice access report which contains a memo text field in the report footer. However, whenever the text would be longer than 255 characters the report would only show maximum 255 characters.
I found somewhere that the query behind the report might be the cause when using grouping, DISTINCTROW, DISTINCT... I didnt use any of it, it was just a simple query, so it was of no help to me.
The next thing I found was to change the text filed from Plain Text to Rich Text, what wasnt of any help either.
Then I found somewhere that moving the text field to the detail section helps, so I tried it and yes, it did work, it showed all the characters.
However, the text field wasnt really of any use to me in the detail section, I needed it in the report footer section.
I also tried it in the Page footer section, it also worked there but again, I needed it in the Report footer section.
The solution was simple:
I left the text box in the Page footer section and set it to Visible = False (lets name the text box, txtBoxPageFooter). After that I added a new unbound text field (lets name it txtBoxReportFooter) to the Report footer and set its Can Grow and Can Shrink properties to Yes (irrelevant, well, depending on the control size).
Last thing I did was simply adding a piece of code to the report on load event.
Code:
Me.txtBoxReportFooter.Value = Me.txtBoxPageFooter
And thats it.
Pretty easy, yes but who knows... Someone might find it helpful
