Thread View: borland.public.cppbuilder.database.ado
3 messages
3 total messages
Started by Lasse
Thu, 23 Nov 2000 11:53
Strange problem
Author: Lasse
Date: Thu, 23 Nov 2000 11:53
Date: Thu, 23 Nov 2000 11:53
17 lines
1494 bytes
1494 bytes
Hi, I've developed an application using ADO to connect to a MS-SQL-server. There are several ADO-Tables used as detail tables in a master-detail relation. The application runs fine on NT4 and SQL Server 7 but there are problems when running on Windows 2000 and SQL Server 2000. The problem arises when a detailed ADO-Table has the EOF-property set (the table can be empty or at bottom of the table) and the Active property is set to false, this triggers an OLE-Exception. So each time the application terminates an error occurs if any of the tables has the EOF- property set. This is driving me crazy so some help would be much appreciated. thanks Lars
Sv: Strange problem
Author: jan petersen
Date: Thu, 23 Nov 2000 12:56
Date: Thu, 23 Nov 2000 12:56
30 lines
1755 bytes
1755 bytes
If you are using mdac 2.6 (it sounds like a madc 2.6 problem) there is a patch on codecentral.borland.com Lasse <lars.knutsson@alcedo.se> skrev i en nyhedsmeddelelse:3a1d047c_1@dnews... > > Hi, > > I've developed an application using ADO to connect to a MS-SQL-server. There > are several ADO-Tables used as detail tables in a master-detail relation. > The application runs fine on NT4 and SQL Server 7 but there are problems > when running on Windows 2000 and SQL Server 2000. The problem arises when a > detailed ADO-Table has the EOF-property set (the table can be empty or at > bottom of the table) and the Active property is set to false, this triggers > an OLE-Exception. So each time the application terminates an error occurs if > any of the tables has the EOF- property set. > > This is driving me crazy so some help would be much appreciated. > > thanks > > Lars > > > >
Re: Strange problem
Author: Lasse
Date: Thu, 23 Nov 2000 13:37
Date: Thu, 23 Nov 2000 13:37
44 lines
2038 bytes
2038 bytes
I think this patch will do the trick. Thanks a lot for your quick response. Lasse "jan petersen" <jv@rmas.dk> skrev i meddelandet news:8vj4b2$qa15@bornews.inprise.com... > If you are using mdac 2.6 (it sounds like a madc 2.6 problem) there is a > patch on codecentral.borland.com > > Lasse <lars.knutsson@alcedo.se> skrev i en > nyhedsmeddelelse:3a1d047c_1@dnews... > > > > Hi, > > > > I've developed an application using ADO to connect to a MS-SQL-server. > There > > are several ADO-Tables used as detail tables in a master-detail relation. > > The application runs fine on NT4 and SQL Server 7 but there are problems > > when running on Windows 2000 and SQL Server 2000. The problem arises when > a > > detailed ADO-Table has the EOF-property set (the table can be empty or at > > bottom of the table) and the Active property is set to false, this > triggers > > an OLE-Exception. So each time the application terminates an error occurs > if > > any of the tables has the EOF- property set. > > > > This is driving me crazy so some help would be much appreciated. > > > > thanks > > > > Lars > > > > > > > > > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads