Re: Re: mysql and kylix

Michael Jung <[email protected]> Fri, 09 Aug 2002 17:00:22 +0200
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <[email protected]>
At 14:30 09.08.2002 +0000, you wrote:
>--- In KylixGroup@y..., Michael Jung <jung@c...> wrote:
> > HI,
> >
> > At 07:05 09.08.2002 -0700, you wrote:
> > >Then, everything was ok, I connected to my db, I saw
> > >the tables in the commandtext property, but when
> > >running the application, when the SQLdataset really
> > >had to work, it accused the following error seemed to
> > >this: "List Index Out of Bounds (0)".
> > >Now I don't know what to do, if you have a suggestion,
> > >please tell me... it's very important
> > >Thank you
> >
> > Are you sure it is the dataset and not another component (Listbox,
>ComboBox
> > etc) ? When do you get the exception while debugging ? Is it really
>on
> > opening the dataset ?
> >
> > Can you open all data at design time without an error ?
> >
>yes, I can do everything at design time....
>And more... I did an application from one book that i have, with all
>the details, and it accused the same error...
>It happens when the application have to do a querry to the database...

BTW: Having the tables in the commandtext property is only a clue for 
working connection, nothing else.

Did you do a simple query application with a form, data connection, query, 
NO data aware components yet, only a button. Use table, query and 
clientdataset with your SQL, open one by one in the OnClick event of the 
button. Does every data access component raise an exception on open ? Do 
you use parameters in your query ?

Just searching for a hint where your problem could raise from.


regards
Michael Jung
Senior Software-Architect/Designer & Consultant

CIDE Creative Information Design
Elbestrasse 8-10                                fon +49 6131 24 00 00
D-55122 Mainz                           fax  +49 6131 24 00 01
Germany

+++ http://www.cide.de +++  http://www.delphi-jobs.de +++ 
http://www.delphix.de +++ http://www.kylixnet.de

[Non-text portions of this message have been removed]