Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Return Formula

Status
Not open for further replies.

afrag

Programmer
Oct 24, 2002
2
US
Writing a return formula in the $$Return field and my links will not work. What is the correct format for links in the $$Return field. Where do I place the HTML code in this field? Default value or HTML Atributes
 
Here's a typical Default value of $$Return(HTTP_REFERER being a defined CGI value)

ViewTitle0:=@Left(HTTP_REFERER; ",");
ViewTitle1:=@If(ViewTitle0 = ""; HTTP_REFERER; ViewTitle0);
ViewTitle2:=@ReplaceSubstring(ViewTitle1; " " ; "+" );
@Return(&quot;<BODY TEXT=\&quot;000000\&quot; BGCOLOR=\&quot;f7f7f7\&quot; BACKGROUND=\&quot;/Icons/BG.gif\&quot;>&quot; + &quot;<H2>Thank you for your information &quot;+ @Name([CN];@UserName)+&quot; </H2> <BR> <H4> <A HREF=&quot;+ViewTitle2+&quot;>Back to Your View</a>&quot;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top