Elam, Debbie
DElam at jenkens.com
Thu Mar 15 14:00:55 CDT 2007
I think I have it figured out. It was an open recordset hanging around. It was hanging on a second pass of a loop. I should have closed the recordset at the end of the loop so it could be reopened as changed. I thought it was stopping the first pass, and it was stopping on the second. Sorry for the red herring, but all of you really clarified my thinking on this. Debbie -----Original Message----- From: Eric Barro [mailto:ebarro at verizon.net] Sent: Thursday, March 15, 2007 1:35 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Recordset Open Can you post code snippets? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, March 15, 2007 11:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Recordset Open Well the recordsets are not closed because the code is failing and I have not yet handled that error. However, I get this the first go round on a freshly booted machine, so I do not think it is a persistent connection. Debbie -----Original Message----- From: Eric Barro [mailto:ebarro at verizon.net] Sent: Thursday, March 15, 2007 12:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Recordset Open Are you using the same connection object that hasn't been closed and disposed off properly? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Thursday, March 15, 2007 10:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Recordset Open I am trying to open a table on a SQL server using an ADO recordset. I get an error that the operation is not allowed when the object is open. No help files come up with help so no pointers there. I have other tables opening using virtually identical recordsets out of the same database with no problems. This database is exclusively used by me right now, though that should not be an issue. I have discovered that I will not get the error if I open it as a query on that table that returns no records. (not helpful to me obviously). If anyone has any ideas about where the issue might be, help is appreciated and needed urgently. Debbie - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.11/722 - Release Date: 3/14/2007 3:38 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.11/722 - Release Date: 3/14/2007 3:38 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions.