Need Help on a Webspeed

laxmig

New Member
Please see the code and the question below.

Calling Program:

Assign l-res-file = "cs/cs210290.w".
{&OUT}
"<A HREF=" (l-res-file + "?p-seq-no=" + STRING(h_seq_no))
" target=main>"
"<font face='Verdana' size='2' font color='blue'> Installed Base </A><BR><BR>" SKIP


Called Program:

PROCEDURE output-header :

ASSIGN l-res-file = "http://123.abc.com/MCQInstalledBase/McQInstalledBase_MOFI.aspx"
w_items = "[Territories].[Parts Distributor]"
w_callprog = www_user.cust_num.

ASSIGN l-res-file = l-res-file + url-field('p-seq-no',h_seq_no,"?")
+ url-field('pAgentType',w_items,"&")
+ url-field('pAgent',w_callprog,"&").

RUN OutputHttpHeader IN web-utilities-hdl("Status","302").
RUN OutputHttpHeader IN web-utilities-hdl("Location",l-res-file).
RUN OutputHttpHeader IN web-utilities-hdl(",").
RUN outputContentType IN web-utilities-hdl ("text/html":U).
END PROCEDURE.

When the called procedure is run, I want the information run on a new window. Can someone guide me in the right direction. I would greatly appreciate your help.

Thanks
Laxmi
 
Assign l-res-file = "cs/cs210290.w".
{&OUT}
"<A HREF=" (l-res-file + "?p-seq-no=" + STRING(h_seq_no))
" target=main>"
"<font face='Verdana' size='2' font color='blue'> Installed Base </A><BR><BR>" SKIP


Have you tried setting the target to "_blank" in your calling program?
 
Back
Top