 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mark Smits Guest
|
Posted: Mon Dec 11, 2006 10:08 pm Post subject: MySQL troubles |
|
|
I have two problems:
1. Two of mySQL tables, which have both a primary key of 1 field being
Integer and not autoincremented, are acting up. A SetKey, following by
setting the keyfield with FieldByName.AsInteger and a GotoKey fail on these
two tables. All other tables behave as they should. I have been looking with
a collegue, have recreated the tables, the entire database etc. but no luck
so far. Any ideas as where I might look ?
2. One of the tables also has an index. When I specifiy this index on the
IndexName and run the app I get an error that the index does not exist. Any
ideas how come ?
Using the Corelabs DBXpress driver and TSimpleDataSets. MySQL version
5.0.24. |
|
| Back to top |
|
 |
Guillem Guest
|
Posted: Tue Dec 12, 2006 3:50 pm Post subject: Re: MySQL troubles |
|
|
Mark Smits wrote:
| Quote: | I have two problems:
1. Two of mySQL tables, which have both a primary key of 1 field
being Integer and not autoincremented, are acting up. A SetKey,
following by setting the keyfield with FieldByName.AsInteger and a
GotoKey fail on these two tables. All other tables behave as they
should. I have been looking with a collegue, have recreated the
tables, the entire database etc. but no luck so far. Any ideas as
where I might look ?
2. One of the tables also has an index. When I specifiy this index on
the IndexName and run the app I get an error that the index does not
exist. Any ideas how come ?
Using the Corelabs DBXpress driver and TSimpleDataSets. MySQL version
5.0.24.
|
I haven't used MySQL since version 4.1 but FWIW all of this sound to me
as a problem with the dbExpress driver you are using. My suggestion
would be to contact CoreLabs.
Sorry I could not help anymore.
--
Best regards :)
Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam |
|
| Back to top |
|
 |
Antaeus Guest
|
Posted: Tue Dec 12, 2006 7:20 pm Post subject: Re: MySQL troubles |
|
|
Hello.
1. Please send us (evgeniyD*crlab*com) a complete small sample to
demonstrate this problem, including script to create and fill table.
Also supply us the following information:
- What behaviour of the application is expecting.
- Exact version of Delphi, C++ Builder or Kylix you use.
- Exact version of DbxMda.
2. Please specify for what reason and in what way do you want to use this
property. Does it work with the standard driver?
Best regards,
Evgeniy Derevyanko.
"Mark Smits" <x@x> wrote in message
news:457d821f$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I have two problems:
1. Two of mySQL tables, which have both a primary key of 1 field being
Integer and not autoincremented, are acting up. A SetKey, following by
setting the keyfield with FieldByName.AsInteger and a GotoKey fail on
these
two tables. All other tables behave as they should. I have been looking
with
a collegue, have recreated the tables, the entire database etc. but no
luck
so far. Any ideas as where I might look ?
2. One of the tables also has an index. When I specifiy this index on the
IndexName and run the app I get an error that the index does not exist.
Any
ideas how come ?
Using the Corelabs DBXpress driver and TSimpleDataSets. MySQL version
5.0.24.
|
|
|
| Back to top |
|
 |
Mark Smits Guest
|
Posted: Thu Dec 14, 2006 3:33 pm Post subject: Re: MySQL troubles |
|
|
Thanks. A collegue will send you some mail, if he hasn't done so already.
"Antaeus" <EvgeniyD (AT) crlab (DOT) com> schreef in bericht
news:457eabc5 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello.
1. Please send us (evgeniyD*crlab*com) a complete small sample to
demonstrate this problem, including script to create and fill table.
Also supply us the following information:
- What behaviour of the application is expecting.
- Exact version of Delphi, C++ Builder or Kylix you use.
- Exact version of DbxMda.
2. Please specify for what reason and in what way do you want to use this
property. Does it work with the standard driver?
Best regards,
Evgeniy Derevyanko.
"Mark Smits" <x@x> wrote in message
news:457d821f$1 (AT) newsgroups (DOT) borland.com...
I have two problems:
1. Two of mySQL tables, which have both a primary key of 1 field being
Integer and not autoincremented, are acting up. A SetKey, following by
setting the keyfield with FieldByName.AsInteger and a GotoKey fail on
these
two tables. All other tables behave as they should. I have been looking
with
a collegue, have recreated the tables, the entire database etc. but no
luck
so far. Any ideas as where I might look ?
2. One of the tables also has an index. When I specifiy this index on the
IndexName and run the app I get an error that the index does not exist.
Any
ideas how come ?
Using the Corelabs DBXpress driver and TSimpleDataSets. MySQL version
5.0.24.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|