Sent by Alan Harris-Reid on 12/30/2002 02:30:14 PM:
Gene, thanks for the reply.
>>Basically, an .FWX page would be designed with FoxPro code at the beginning of the entire script that is used to respond to trapped events.<<
A couple of questions come to mind regarding using your method
a) Do you always post a page to itself?
- I'm not sure what you mean by this. If you are referring to the CASE/IF statement, it must refer to the page your working on/with. If you put another page's name, your script logic following it will be ignored.
b) Do you always call .fwx scripts using Server.Transfer()?
- From FoxPro/Web code, yes. This is the only way to get to a page . . . and in my brief experience, solves a world of evils. Remember, you can create a dynamic page with a function that you pass parameters to and call it . . . or, you can just call a static page.
From normal HTML code, the standard '<a href = ...' can be used to call a HTML or FWX static page from an image button or script.