473,324 Members | 2,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

No case differentiation on keyed fields

A keyed field in one of my tables cannot have duplicates. This is easy to
specify.
But I need the ability to have variations in the case of the fields.

ie I need a keyed value of "abc" to be different than a key value of "ABC"
or "AbC".

I don't see any way of specifying this.

Sep 15 '07 #1
4 1333
Jerry DePlancke wrote:
A keyed field in one of my tables cannot have duplicates. This is
easy to specify.
But I need the ability to have variations in the case of the fields.

ie I need a keyed value of "abc" to be different than a key value of
"ABC" or "AbC".

I don't see any way of specifying this.
In an MDB file (Jet database) you cannot. At least not with a Primary Key or
Unique Index.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Sep 15 '07 #2
On Sep 15, 2:24 pm, "Jerry DePlancke" <jdepl...@ellijay.comwrote:
A keyed field in one of my tables cannot have duplicates. This is easy to
specify.
But I need the ability to have variations in the case of the fields.

ie I need a keyed value of "abc" to be different than a key value of "ABC"
or "AbC".

I don't see any way of specifying this.
I create a new mdb "db1.mdb".
I copy the table Employees from the Northwoods sample mdb to my new
mdb.
I change the lastname index to "unique".
I try to change Andrew Fuller's last name to DAVILIO. I can't. Nancy
Davilio already exists in the table.

I run this line of code.
CurrentProject.Connection.Execute ("ALTER TABLE Employees ALTER
LastName Binary (20)").
I change Andrew Fuller's last name to DAVILIO.
It is changed.

DAVILIO is sorted before Davilio.

Are there problems with binary fields? I have used them for ten years
or so and never found any. But others may have. Still others don't
trust anything not recommended by Microsoft or initiated by
themselves. You will make up your own mind, I expect.

Sep 15 '07 #3
On Sep 16, 6:49 am, lyle <lyle.fairfi...@gmail.comwrote:
Are there problems with binary fields? I have used them for ten years
or so and never found any. But others may have. Still others don't
trust anything not recommended by Microsoft or initiated by
themselves. You will make up your own mind, I expect.
Nice undiscovered facet (for me). BINARY is listed as a Jet field type
and a DAO constant. But I don't see that listed in the Table Designer.

I already miss Maria Anders and gang. They have been given the boot in
Northwind 2007 after long years of service with the Company. The new
Northwind is sooo foo.bar.

Ananda

Sep 16 '07 #4
On Sat, 15 Sep 2007 17:37:38 -0700, AnandaSim <An*******@gmail.com>
wrote:

I rather like the new Northwind. FINALLY after several new Access
versions has the team seen the light and has come up with a new modern
interface. I don't know Maria, but if she was part of the stagnation,
....

-Tom.
>On Sep 16, 6:49 am, lyle <lyle.fairfi...@gmail.comwrote:
<clip>
>
I already miss Maria Anders and gang. They have been given the boot in
Northwind 2007 after long years of service with the Company. The new
Northwind is sooo foo.bar.

Ananda
Sep 16 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Bob Bedford | last post by:
I want to allow users to get the article directly by inserting the announce ID on the URL such www.mysite.com?AnnID=xxx where xxx is the code of the announce. The problem is : $_GET if the...
6
by: Xah Lee | last post by:
© # -*- coding: utf-8 -*- © © # in Python, there's a special type of © # data structure called keyed list. it © # is a unordered list of pairs, each © # consists of a key and a value. It is ©...
2
by: James G via AccessMonster.com | last post by:
Hi I have a textbox (Final Flat) that contains a default value of zero. The other 2 textboxes (Final rate and Final Minimum) always have a numeric value in them. What i want to do is...
0
by: centrino | last post by:
Hello, Is there keyed-MD5 Implementation for C# ? could anybody give me some advices ? thanks !
0
by: centrino | last post by:
Hello, Any body knows where are implementations,links of keyed MD5(MD5 in prefix+suffix mode ) in C# or in C++(for dll) thanks !
1
by: komminenibalaji | last post by:
Hi, I am trying to implement differentiation in C++. I have no clue on how to do it. Could anybody suggest an algorithm or a refernce on where I could find something on this topic. Regards,...
0
by: Benny | last post by:
Does anyone know how to update a datatable that relates to a column not keyed? There is one column that will be unique to the selected set of data but not to the database but i am not sure how to...
1
by: style101 | last post by:
at moment im trying to compare a value that i type in a text box to values in the field of a table and if there is a match then there field is updated like in the code below. but when i try it...
9
by: happyse27 | last post by:
Hi All, In perl script(item b below) where we check if html registration form are filled in properly without blank with the necessary fields, how to prompt users that the field are incomplete...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.