A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Duplicated Primary Index



 
 
Thread Tools Display Modes
  #1  
Old September 8th, 2004, 03:45 PM
Scott Trowbridge
external usenet poster
 
Posts: n/a
Default Duplicated Primary Index

Hello,


I've got a database that I'm importing and then generating a primary key and
MS is generating an error say Dup. Key. The two fields in question is an
account number and a unique sequential alpha/number field. As an example:

Account Key

12345 a
12345 b
12345 c
..
..
..
12345 A
12345 B


So MS Access looks at the 'a' and 'A' and considers them to be the same
and not understanding the difference in the case. How can I get around this
issue?

Scott



  #2  
Old September 8th, 2004, 04:21 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default

You can't get around that. JET (the database engine in Access) is not
case-sensitive. You will need to convert the lower case values to a
different character, or use a different data engine.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Scott Trowbridge" wrote in message
...
Hello,


I've got a database that I'm importing and then generating a primary key
and
MS is generating an error say Dup. Key. The two fields in question is an
account number and a unique sequential alpha/number field. As an example:

Account Key

12345 a
12345 b
12345 c
.
.
.
12345 A
12345 B


So MS Access looks at the 'a' and 'A' and considers them to be the same
and not understanding the difference in the case. How can I get around
this
issue?

Scott





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Index or primary key cannot contain null values Dan Using Forms 1 July 15th, 2004 04:39 PM
find keywords Tennessee picker General Discussion 1 July 7th, 2004 06:23 AM
Do I need index or primary key? Matt Running & Setting Up Queries 1 June 16th, 2004 02:05 AM
Indexing - Global refresh/deletion of index marks Ray Cleere Formatting Long Documents 2 April 30th, 2004 04:31 PM
Indexing - Global refresh/deletion of index marks Ray Cleere Formatting Long Documents 0 April 30th, 2004 10:46 AM


All times are GMT +1. The time now is 08:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.