I can understand that the trouble was caused by an Active=true and a DB conenection fails as said mr. Marc Weustink, although I'm not sure about this because if, in the time I generate the code the situation of DB is the same. The first question that comes to my mind is: Why the DB connection fails if we the same situation that when the code was generated, eg, the server is loaded during linux boot and nothing(I say NOTHING) was changed in the environment since I close lazarus and shut down the machine? The server is loaded and the employee.db file is the same directory and it's unchanged.

If I still agree with mr. Marc Weustink(I have doubts, I repeat) may someone give me an objective answer about how to solve the trouble? I read some e-mails talking about opinions only.

In any way it sound strange that there is an error of this kind... It don't allow me alter my project and go forward... At least, I can't go forward. Actually this kind of error in the design time is getting me upset...

Greetings from Sao Paulo - Brazil

Ricardo


<[EMAIL PROTECTED]>
----- Original Message ----- From: "Marc Weustink" <[EMAIL PROTECTED]>
To: <lazarus@miraclec.com>
Sent: Thursday, October 13, 2005 6:44 AM
Subject: Re: [lazarus] Re: Is this a bug?


Joost van der Sluis wrote:
On Wed, 2005-10-12 at 20:58 +0200, Marc Weustink wrote:


It says something about TStringList property Strings not being published...

You will get this error when loading a form with DB (related) components with an Active=True property and the connection to the DB fails.


Doew anyone has any ideas how to solve that? I can remove the error, if
the dataset is opened while the component is 'loading', but then an
application will also silently close the database, without any error-
message?

I think an error mesage must be shown (in design mode always, in runtime depending on the OnError handler) In design mode it may not result in an exception, and the db should stay closed. In runtime an exception is OK unless handled on the OnError

Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to