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 

Repeating records in TDBGrid/TTables

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Robert Wheadon
Guest





PostPosted: Wed Jul 14, 2004 9:08 pm    Post subject: Repeating records in TDBGrid/TTables Reply with quote



Hello,

I am writing a BCB 5 application using Borland Database components against
an Access '97 database. I have a table where the primary key is an
AutoIncrement number and the secondary key is a sorted list of names. The
name list works fine in some cases but when I change the capitalisation of
one of the names, I get repeating sequences in the grid. For example. Say
if I had three names in the Grid: A, B, C. The grid would display them
OK.

A
B
C

But if I was to rename 'A' to 'a' (changing the case). I would get
something like

a
B
C
a
B
C

Moving the cursor up and down the grid can also expand the list.

This is very strange behaviour. Has anyone seen this sort of thing before?

Any help would be appreciated.

Thanks,

Robert Wheadon.





Back to top
George
Guest





PostPosted: Thu Jul 15, 2004 7:58 am    Post subject: Re: Repeating records in TDBGrid/TTables Reply with quote



Robert

All I can observe is that funny things happen when you include auto-inc
numbers in keys and combining that with a sorted list, (how do you do that?)
could produce odd results.

Just an observation.

George


"Robert Wheadon" <robert.wheadon (AT) monitorbm (DOT) co.nz> wrote

Quote:
Hello,

I am writing a BCB 5 application using Borland Database components against
an Access '97 database. I have a table where the primary key is an
AutoIncrement number and the secondary key is a sorted list of names. The
name list works fine in some cases but when I change the capitalisation of
one of the names, I get repeating sequences in the grid. For example.
Say
if I had three names in the Grid: A, B, C. The grid would display them
OK.

A
B
C

But if I was to rename 'A' to 'a' (changing the case). I would get
something like

a
B
C
a
B
C

Moving the cursor up and down the grid can also expand the list.

This is very strange behaviour. Has anyone seen this sort of thing
before?

Any help would be appreciated.

Thanks,

Robert Wheadon.








Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) 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.