GenoPro Home
GenoPro Home  |  SDK Home  |  Report Generator  |  Support  |  Search  |  Help  |  Site Map

Skip Navigation Links.

Report.WriteText3Br Method

The WriteText3Br method is nearly identical to WriteText3 with the difference having the <br /> tag appended at the end of the the last parameter. Of course, the <br /> tag is written only if the middle parameter is non empty.

Syntax:

Report.WriteText3Br str1, str2 [, str3]

In summary, the Write3 method is the equivalent of the following piece of code:

If (str2 <> "") Then
	Report.Write Util.HtmlEncode(str1 & str2 & str3) & "<br />"
End If

or

If (str2 <> "") Then
	Report.Write Util.HtmlEncode(str1)
	Report.Write Util.HtmlEncode(str2)
	Report.Write Util.HtmlEncode(str3)
	Report.Write "<br />"
End If

Usage:
Use of this method is when you need to output 3 text parameters on a single line when the middle parameter is not empty. You can use this method if you know the parameters 1 and 3 do not have any special HTML tags such as:

Report.WriteText3Br "First Name: ", i.name.first

See Also:
WriteT3Br
WriteT3
WriteText3
Write3
Write3Br
Write


 

 

Copyright © 1998-2024. All rights reserved. GenoPro® and the GenoPro logo are registered trademarks.