I had to rebuild the pages, we added new fields, and the same problem cropped up again. I cannot see the code you moved in the previous file in the current results page. I cannot see where the function executes prior to the record set.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.