Re: mysql and kylix

"m_manzato" <[email protected]> Fri, 09 Aug 2002 15:14:43 -0000
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <[email protected]>
--- In KylixGroup@y..., Michael Jung <jung@c...> wrote:
> 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.
> 
Yes, this application from the book that i told you, is just an
application for consulting querries from the database, with a editbox
to type the querry, a listbox, and a button to execute the querry
typed. It doesnt use any parameter... It use only the Sqlconnection
and the sqldataset components