JointLantic

GetHTMLText PeopleCode

GetHTMLText PeopleCode

GetHTMLText PeopleCode is function.

For Example Using HTML Definitions and the GetHTMLText Function

1. Create HTML Object in Application Designer and define name is TABLE_HTML

<P> <TABLE> <TR bgColor=#008000> <TD> <P><FONT color=#f5f5dc face=”Arial, Helvetica, sans-serif” size=2> %bind(:1) </FONT></P></TD></TR> <TR bgColor=#0000cd> <TD> <P><FONT color=#00ffff face=”Arial, Helvetica, sans-serif” size=2>%bind(:2)</FONT></P></TD></TR> </TABLE></P>

2.  Call HTML object by use GetHTMLText Function and pass parameter.

Local Field &HTMLField; &HTMLField = GetField();
&string = GetHTMLText(HTML.TABLE_HTML,”message 1″,”message 2″);

&HTMLField.Value = &string;

3. Result of GetHTMLText

Ref: https://docs.oracle.com/cd/E41509_01/pt852pbh2/eng/psbooks/tpcd/chapter.htm?File=tpcd/htm/tpcd08.htm%23g037ee99c9453fb39_ef90c_10c791ddc07__4a9a

Exit mobile version