Great!! That works fine. Many thanks.
Sent by FoxWeb Support on 12/11/2014 12:53:25 PM:
The <%= %> construct is for including the output of the content in the response. What you are actually doing is calling header.fwx, which writes some content to the response buffer, and then are also writing its return value (in this case .T.) in the response buffer. If you decide to use this syntax, then you should call a PRG file instead and have it return the header content to the caller, similar to how FooterText.prg is used in ContactMine2.
The other option is to keep header.fwx as is, but don't have the calling script include its return value in the output. For this you will need to use the <% %> construct, as follows:
In fact, <%="OutputContent"%> is equivalent to <%Response.Write("OutputContent")%>.
FoxWeb Support Team
Sent by Joe Goldsmiith on 12/11/2014 12:31:34 PM:
To load a menu I use server.execute so that script commands in the called script execute using variables from the calling script in the form:
What happens is that a .T. appears after the header just after the menu. I have gone through the header.fwx placing response.write in various places to see where it comes from with no luck. I also placed response.write in code just following the server.execute and still no luck. If I delete the server.execute from the script the .T. does not show up.
Anyone have an idea what is happening? Does it have anything to so with server.execute?