Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rs.open parameter meanings?

Status
Not open for further replies.

selaine

Programmer
Oct 11, 2001
85
US
I'm an ASP/VBScript newbie and I am trying to understand the different methods of coding for and asp form. In the statement below, which I've seen many times, what does 2, 2 represent? I've also seen different numbers other than 2, 2. How do you know what numbers to use and what they represent?

rs.open "myTable", conn, 2, 2

Also, what's the difference between the above statement and:

rs.open "myTable", conn

Is there a reason why you'd use one method over the other?
Thanks for any help in clearing this up!
 
The numbers are to do with the cursor type, lock type etc
If you dont specify then it defaults, check here for a detailed description and explanation

Saturday 12.00
im6.gif
im2.gif
im2.gif
20.00
im5.gif
im4.gif
im7.gif
3.00am
im8.gif
Sunday [img http
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top