Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: Re: Question concerning accessing Access module within ASP


Message #1 by "Jose Bueno" <jbueno@i...> on Fri, 1 Mar 2002 21:47:24
A better way of handling this would be to adapt your user-defined function 

and include it in your script.



example:



strSQL = "Select field1, DoThis([arg1],[arg2]) As field2"



objRs.Open... etc. etc.







public function DoThis(arg1, arg2)

<code>

end function



alternatively (and a better solution to boot), you can collect your user 

defined subs and functions that will be needed for your app and place them 

in a .vbs file.  Use an include directive for any page you want to have 

access to those functions.

  Return to Index