Jan 12, 2006 #1 emozley Technical User Jan 14, 2003 769 GB Hi, If I create a recordset with: rsUsers.Open strSQL, adoCon and I've not specified the cursor type, which one will it default to? If I want to make it forward only what is the syntax? cheers
Hi, If I create a recordset with: rsUsers.Open strSQL, adoCon and I've not specified the cursor type, which one will it default to? If I want to make it forward only what is the syntax? cheers
Jan 12, 2006 #2 QatQat IS-IT--Management Nov 16, 2001 1,031 IT if you include the file adovbs.inc then here is the syntax RS.Open strSQL, adoConn, adOpenForwardOnly, adLockOptimistic otherwise RS.Open strSQL, adoConn, 0, 3 By default I think it creates RS.Open strSQL, adoConn, adOpenStatic, adLockOptimistic or RS.Open strSQL, adoConn, 3, 3 cheers QatQat Life is what happens when you are making other plans. Upvote 0 Downvote
if you include the file adovbs.inc then here is the syntax RS.Open strSQL, adoConn, adOpenForwardOnly, adLockOptimistic otherwise RS.Open strSQL, adoConn, 0, 3 By default I think it creates RS.Open strSQL, adoConn, adOpenStatic, adLockOptimistic or RS.Open strSQL, adoConn, 3, 3 cheers QatQat Life is what happens when you are making other plans.
Jan 12, 2006 #3 DotNetGnat Programmer Mar 10, 2005 5,548 IN http://www.4guysfromrolla.com/webtech/112998-1.shtml -DNG Upvote 0 Downvote
Jan 16, 2006 #4 Bullschmidt Programmer May 20, 2003 331 US And here's a related article: Cursor & LockType Performance Report - 6/27/1999 http://www.4guysfromrolla.com/webtech/062799-3.report.shtml Best regards, -Paul http://www.Bullschmidt.com - Freelance Web and Database Developer http://www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips Upvote 0 Downvote
And here's a related article: Cursor & LockType Performance Report - 6/27/1999 http://www.4guysfromrolla.com/webtech/062799-3.report.shtml Best regards, -Paul http://www.Bullschmidt.com - Freelance Web and Database Developer http://www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips