473,387 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Quick ASP ADO queston - constants in rs.open line?

101 100+
In a line like this:

Set RSInsert = Server.CreateObject("ADODB.Recordset")
RSInsert.Open "Tablename", objConn, 1, 3, 2

What do the numbers mean, and is there anywhere I can go to find all the definitions of them?
May 17 '07 #1
3 1233
jhardman
3,406 Expert 2GB
Welcome to the scripts dn. These constants after the objConn specify the type of cursor (whether you can only scroll through the RS in one direction) the lock type (whether you are locking the db for editing) etc. There is a file called "ADOVBS.inc" which provides constant names for each of these constants which helps keep them separate in my mind. see this article

Jared
May 17 '07 #2
zensunni
101 100+
One thing that google is terrible for is not being able to search a sequence like ", 1, 3, 2". Now, I have a starting point. This is great. Thanks a lot.
May 17 '07 #3
zensunni
101 100+
Hmm... This article tells me how to make the numbers mean something, however, I'm wondering what order goes what. Is is just chronological compared to the .inc file?

So, me specifying 3, 2, 1 and 1, 2, 3. would be what?

Thanks for any help or leads... I'll post info if I find it.

[Edit] Bingo: http://www.w3schools.com/ado/met_rs_open.asp
May 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.