I don't know much about JScript, but my ASP 3.0 book says the following on
page 477
Examples are given of setting the ActiveConnection property both in VB
Scripts as in JScript. Then in the end thery say:
<quote>
Disconnected recordsets are created by setting the ActiveConnection to
Nothing after the recordset has been opened (if the CursorLocation is set
to adUseClient).
</quote>
without specifying the language, which they usually do.
AFAIK JScript doesn't support Set, but does it support Nothing??
Did you try:
adoRs.ActiveConnection = Nothing
Hope this helps.
Imar
At 12:10 PM 9/1/2000 +0100, you wrote:
>Forwarded by Wrox Support
>
>-----Original Message-----
>From: kpourmal@r... [mailto:kpourmal@r...]
>Sent: 31 August 2000 22:15
>Subject:
>
>
>I have a question for you. I have been trying to figure out how to create
>a disconnected recordset using JScript.
>
>In VBScript I could do this:
> Set adoRs.ActiveConnection = Nothing
>Could you please tell me what is the equivalent of this in JScript. I
>thought this should work but it did not:
> adoRs.ActiveConnection = null;
>
>Unfortunately all the samples in every book I own is in VBScript.
>
>Regards,
>Kevin Pourmaleki
>Enterprise Architecture
>