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

Skip Navigation Links.

Report.WriteT3 Method

The WriteT3 method is a hybrid combination of Write3 and WriteText3. The only difference is the middle parameter is HTML encoded.

Syntax:

Report.WriteT3(str1, str2 [, str3])

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

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

or

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

Usage:
The WriteT3 is useful when you want to output text surrounded by HTML tags. For instance, if you want to display a value in bold, you would do the following:

Report.WriteT3 "First Name: <b>", i.name.first, "</b><br />"

Examples:

Report.WriteT3 "Permanent ID: ", i.id, "<br />"		' No third parameter
Report.WriteT3 "Number of Children: <b>", i.children.count, "</b><br />"

See Also:
WriteT3Br
Write3
WriteText3
Util.HtmlEncode

 

 

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