BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MySQL troubles

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Mark Smits
Guest





PostPosted: Mon Dec 11, 2006 10:08 pm    Post subject: MySQL troubles Reply with 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
Guillem
Guest





PostPosted: Tue Dec 12, 2006 3:50 pm    Post subject: Re: MySQL troubles Reply with quote



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





PostPosted: Tue Dec 12, 2006 7:20 pm    Post subject: Re: MySQL troubles Reply with 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...
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





PostPosted: Thu Dec 14, 2006 3:33 pm    Post subject: Re: MySQL troubles Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.