Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: Numeric values


Message #1 by "sean dillon" <sdillon@b...> on Thu, 11 Apr 2002 10:02:18
Can anyone please explain to me exactly what these numbers represent:
rsSheets.CursorType = 0
rsSheets.CursorLocation = 2
rsSheets.LockType = 3

If you can assign different numbers to these values what are they and also 
what do they mean.
Thanx for ant help
Message #2 by "Ajay" <ajayn@p...> on Thu, 11 Apr 2002 18:57:51 +0530
hi,

This Numbers are the constants for ADO (VBScript).
And you can find those in *adovbs.inc* file.

Thanks,
----- Original Message -----
From: "sean dillon" <sdillon@b...>
To: "Access ASP" <access_asp@p...>
Sent: Thursday, April 11, 2002 10:02 AM
Subject: [access_asp] Numeric values


> Can anyone please explain to me exactly what these numbers represent:
> rsSheets.CursorType = 0
> rsSheets.CursorLocation = 2
> rsSheets.LockType = 3
>
> If you can assign different numbers to these values what are they and also
> what do they mean.
> Thanx for ant help

Message #3 by "Sean Dillon" <sdillon@b...> on Thu, 11 Apr 2002 14:26:50 +0100
Ive just found an easier way. All i do is click on the recordset in the
server behaviours and in the properties box it specifies what they mean.
Thanx for ur help anyway.



-----Original Message-----
From: Ajay [mailto:ajayn@p...]
Sent: 11 April 2002 14:28
To: Access ASP
Subject: [access_asp] Re: Numeric values


hi,

This Numbers are the constants for ADO (VBScript).
And you can find those in *adovbs.inc* file.

Thanks,
----- Original Message -----
From: "sean dillon" <sdillon@b...>
To: "Access ASP" <access_asp@p...>
Sent: Thursday, April 11, 2002 10:02 AM
Subject: [access_asp] Numeric values


> Can anyone please explain to me exactly what these numbers represent:
> rsSheets.CursorType = 0
> rsSheets.CursorLocation = 2
> rsSheets.LockType = 3
>
> If you can assign different numbers to these values what are they and also
> what do they mean.
> Thanx for ant help



Message #4 by "Ken Schaefer" <ken@a...> on Fri, 12 Apr 2002 10:54:27 +1000
Please do a search on your hard disk for the file adovbs.inc
Look under CursorTypeEnum (for example) to see what the values for
cursortype are
Look under CursorLocationEnum to see what the values for cursorlocation are.

As to what they mean, I have a basic explanation for what cursors are here;
www.adopenstatic.com/faq/jetcursortypes.asp

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "sean dillon" <sdillon@b...>
Subject: [access_asp] Numeric values


: Can anyone please explain to me exactly what these numbers represent:
: rsSheets.CursorType = 0
: rsSheets.CursorLocation = 2
: rsSheets.LockType = 3
:
: If you can assign different numbers to these values what are they and also
: what do they mean.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Return to Index