Forum Moderators: open
I know it means "open recordset and select all from my database" but I'm not sure what the 1 and the 3 are after the conn. Is there a specific term for these numbers?
any clues? And what are some other numbers that might be used here?
Thanks in advance,
Patrick
SQL Server 2000 newbie
1 is adOpenKeyset
3 is adLockOptimistic
Posible values for cursor types:
[msdn.microsoft.com...]
Possible values for lock types:
[msdn.microsoft.com...]
I wouldn't change them if I were you. The previous programmer would have chosen those lock and cursor types for a reason.
There's two ways of doing this. One is to include adovbs.inc in all of your data pages...
Here's a guide to adovbs.inc
[asp101.com...]
The other (and better) way of doing it is to import the ADO type library in your global.asa file...
To do this just place the floowing code at the top of your global.asa file (create a blank one if you don't have one already and place it in your webroot)
<!--METADATA
TYPE="TypeLib"
NAME="Microsoft ActiveX Data Objects 2.6 Library"
UUID="{00000206-0000-0010-8000-00AA006D2EA4}"
VERSION="2.6"
-->