A script-enabled browser is required for this page to function properly.

SRW.SET_AFTER_FORM_HTML built-in procedure

This procedure inserts any text, graphics, or HTML commands that you want to appear at the bottom of the HTML Parameter Form. This attribute is useful for placing a logo or some standard links on the Parameter Form.

Syntax


SRW.SET_AFTER_FORM_HTML(type,'string');

Parameter

Definition

type

Is SRW.FILE_ESCAPE or SRW.TEXT_ESCAPE. It indicates whether the string parameter is a filename or the text to be inserted.

string

Is a filename or the text to be inserted depending on what was specified for the type parameter.

GUI access

You can also define this attribute using the Reports Builder user interface:

Property Inspector

set the After Form Type and After Form Value properties

Example

This example inserts two links to home pages at the bottom of the HTML Parameter Form.


function BeforeForm return boolean is 
begin 
 if ((upper(:MODE) != 'CHARACTER') and 
  (upper(:DESFORMAT) = 'HTML')) then
  SRW.SET_AFTER_FORM_HTML(SRW.TEXT_ESCAPE,'<CENTER>' || 
  '<A HREF="http://www.oracle.com/">' || 
  'Oracle Corporation</A> -' || 
  '<BR>' || 
   '<A HREF="http://home.netscape.com/">' || 
   'Netscape</A> </CENTER>' || 
   '</BODY> </HTML>'); 
  end if; 
 return (TRUE); 
end;

See also

Creating an HTML Parameter Form footer using PL/SQL

About the Reports Builder built-in package (SRW)

SRW built-in package