 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
lagerist Guest
|
Posted: Tue Nov 07, 2006 9:10 am Post subject: EOleException when opening Dataset |
|
|
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 |
|
| Back to top |
|
 |
Erol Fornoles Guest
|
Posted: Sat Nov 18, 2006 10:18 pm Post subject: Re: EOleException when opening Dataset |
|
|
What does those 4 datasets contain? |
|
| Back to top |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group .
|