Big Moxy wrote:
> On Nov 29, 5:10 pm, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
> wrote:
>> Big Moxy wrote:
>>
>>> I placed it where I did because the initial page display uses sql =
>>> "SELECT * FROM [" & tables(tableID) & "] ORDER BY ID ASC" which
>>> works just fine. I will never get the search option if the
>>> Response.End is placed where you suggest.
>>
>> I don't get you. if you want to troubleshoot the sql statement, then
>> you have to print it out before it is executed ...
>> --
>> Microsoft MVP - ASP/ASP.NET
>> Please reply to the newsgroup. This email account is my spam trap so
>> I don't check it very often. If you must reply off-line, then remove
>> the "NO SPAM"
>
> Perhaps you are not understanding the sequence of events.
It's irrelevant. Your goal at this point is not to make the page run to
completion. Your goal at this point is to discover what the sql string
contains (at least, that was the goal you stated in your opening post).
Nothing else that happens after the sql string is built is relevant until
you determine that your sql statement is correct. Once you have determined
that the sql statement is what you expect it to be, then you can start
worrying about getting the rest of the page to run.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
|