Subject Re: [IBO] Cursor Unknown
Author Marco Menardi <mmenaz@lycosmail.com>
--- In IBObjects@yahoogroups.com, "Alan McDonald" <alan@m...> wrote:
> I'm can't help think that if that is a safer way to dsconnect then
maybe the
> .Connected := False;
> should in fact call that method or at least make the same action as the
> explicit call no?
> Alan
>

How do you destroy your forms? If you call Free/Destroy, events are
not waited to terminate, before form is destroied. You'd better use
.Release.
i.e.
frmAbout := TfrmAbout.Create(Self);
try
frmAbout.ShowModal;
finally
frmAbout.Release;
end;

if your program is "nullified" before all events are processed, this
could be a source of "strange errors" ;). This could explain why a
while..do works, and a simple property change does not.

regards
Marco Menardi