Reply to Re: Why is my Output Parameter not working?

Your name:

Reply:


Posted by Erland Sommarskog on 06/16/05 16:19

Axel (realraven2000@hotmail.com) writes:
> I had tried changing tro a client side cursor but it still produces the
> same result
>
> (from my global.asa)
> <SCRIPT LANGUAGE=VBScript RUNAT=Server>
> Sub Application_OnStart
>
> dim cnnDem
>
> Set cnnDem = Server.CreateObject("ADODB.Connection")
>
> cnnDem.CursorLocation=3 ' adUseClient=3 (Server=2)
> Call cnnDem.Open("DSN=TestDB;UID=sa;PWD=;DATABASE=TestDB")
>
> Application("cnn") = cnnDem
>
> End Sub
></SCRIPT>

Is adUseClient really 3? Does ASP not support the use of the constants
instead?

If you use client-side cursor, there is another solution which may be
more palatable: use the .RecordCount property on the recordset.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация