PDA

View Full Version : FUNCTION OR PROCEDURE? : Output of resultset



numbenator
04 Aug 2005, 06:16 AM
HI there,

I working with ASP and Access.

I wish to not output my query results within the HTML and output from a procedure or function (i am not sure which one to use) which is called from with in the htl,

By this I mean, where my result set would be output , i wish to use say a
<%= getResults() %>

and the procedure/function use document.write("")

MY QUESTIONS : do I use a function or procedure? Whats is the syntax? and do I use
document.write("html")
Are there any other rules I should remember?

cheers

Steve