๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages Started by lagerist Tue, 07 Nov 2006 06:39
EOleException when opening Dataset
#411
Author: lagerist
Date: Tue, 07 Nov 2006 06:39
26 lines
2108 bytes
Hi Everybody!

I'm relatively new in programming and have a problem.

I created a VCL Forms Application (BDS 2006) and use a ADOConnection to
connect with an MySQL Database. Everything works fine on my machine
(where I created the app, but on every other PC (I tested 5 Win XP and
1 Win2k) I get an exception as soon as I try to open the DataSet. The
curious thing about it is, that I use 4 Datasets and the exception is
only by two of them! I don't have any BeforeActivate... Events
programmed.

This is the Code:
ConnectionAB->DataSet1->Open(); (Exception is caused)
ConnectionAB->DataSet2->Open(); (Exception is caused)
ConnectionAB->DataSet3->Open(); (NO Exception is caused)
ConnectionAB->DataSet4->Open(); (NO Exception is caused)

The Error Message is: "Das Objekt war geรถffnet" (Which means "The
Object was already opened"
I already found out that this message is an "EOleException Type"

Can anybody help me?

Thanks!
Chris
Re: EOleException when opening Dataset
#418
Author: Erol Fornoles
Date: Sat, 18 Nov 2006 16:18
1 lines
1282 bytes
What does those 4 datasets contain?
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