Hi Willie,
a couple things I noticed;
a) there was a compile error in the app, so I'm guessing you had the app open in the IDE when you zipped it up. However, hopefully, that won't matter.
b) you're using STOP statements to do debugging. this is _very_ bad in a web context because of the nature of the multi-threaded engine, and also because it causing timing complications in the browser. This is a good time to break this habit. Instead of STOP use
p_web._trace('whatever you like')
and view the results in DebugView.Exe (available from
www.sysinternals.com, a microsoft division.)
c) you're using a "submit" button in a way which is unnecessary. In NT "submit" buttons are very rarely used (and I'd suggest "reset" buttons are almost never used.) In NT you can put the actual browse onto this memory form, and then have the browse update automatically whenever a search field has changed. Or, if you want a "search" button, you can certainly have one, just make it a "button" and refresh the browse when it's clicked.
d) You've got a bunch of code in the very first embed point for the form procedure (procedure setup). this means it'll get done _every_ time that procedure is called. (and it may interest you to know that the procedure is called 11 times by the time the submit button is pressed).
With regards to the date being cleared - you're doing it yourself in the call to "do ClearValues".
You have this code;
p_web.SetSessionvalue('Reset','Reset')
and then this code;
IF p_web.GetSessionValue('Reset') = 'Reset'
Do clearvalues
As an aside, what the example does show is that you're not really understanding the fundamental concepts behind how the form works. If I may be so bold, I recommend you get a copy of the NetTalk book
(
http://www.capesoft.com/nettalkbook) - it'll go a long way to helping you get through the learning curve, and you'll save a lot of time figuring out stuff like this.
Which is not to say you won't figure it out without the book, just that it'll take longer.
Cheers
Bruce