View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
if you have vfp 7 you can use executescript() function to process another file that contains foxweb code  if not i would think the  RunCode.PRG in FFC, in prior version will work in Foxweb.  this will allow you to process Fox code and then display it to a user.  I use ExecuteScript() function when i have to build code based on user input and out put that information.  
 
 
Sent by Don Dascher on 12/12/2002 05:56:11 AM:
Well, that is true.   If I have included any <%    %> types of code in that file, it does not get processed by Foxweb.  It just gets included in the final HTML just as I typed it.
 
I think the previous response about using an HTML editor to create the FWX files will be a great help.   I am working on that concept now.
 
Thanks.
 
 
Sent by FoxWeb Support on 12/11/2002 07:14:11 PM:
You can include another file in your code using the following tag:
 
<%=FILETOSTR('FileName.html')%>
 

FoxWeb Support Team
support@foxweb.com email

Sent by Don Dascher on 12/11/2002 12:52:53 PM:
I would like to be able to insert <%=  somename.html %> into the FWX file and have it get processed just as though the HTML was actually in the FWX file.  Then I could create the data entry forms with an HTML editor and use it in my FWX file without having to physically move it from one file to the other.
 
Thanks.