Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Execute query in xsl (vbscript) [Thread Next] Re: Execute query in xsl (vbscript)To: NULL Date: 4/6/2007 7:26:00 AM
On 6 Apr, 13:48, Martin Honnen <mahotr...@yahoo.de> wrote:
> Ghena wrote:
> > function testSQL()
> > Dim Conn
> > Set Conn= Server.CreateObject("ADODB.Connection")
> > inside the template I call the function in this way:
> > <xsl:value-of select="user:testSQL()" />
>
> > but the system return an error:
>
> > Microsoft VBScript runtime error Object required: 'Server' line = 12,
>
> Simply use
> Set Conn = CreateObject("ADODB.Connection")
> the Server object is only available to script in an ASP page.
>
> --
>
> Martin Honnen --- MVP XML
> http://JavaScript.FAQTs.com/
it works...
Thanks..
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
