|
|
||||||||
| TALtech Home: Support: ActiveX Control KB: |
Message Appears more than once when Concatenating the Message into the Comment Property in an MS Access ReportBackground: Private Sub Detail_Format(Cancel
As Integer, FormatCount As Integer) When you preview the report in Access everything looks great, but when you print the report it prints the comment and repeats the message: i.e. Comment Message Message This happens regardless of which printer you print to. The Solution is to hardcode your comment, or set the take the comment string from somewhere other than the Comment Property of the ActiveX Control. For instance, if you create a form with a text box on it, you type the comment into the text box and push a button to run the report, your report can take the value of the text box and concatenate it with the message property. The following code uses a hardcoded string variable as a comment rather than the value of the Comment property and will not cause the problem: Private Sub Detail_Format(Cancel
As Integer, FormatCount As Integer) |
|||||||||||||||||||||
|
|||||||||||||||||||||