473,397 Members | 2,077 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,397 software developers and data experts.

Contact Management Database Template

1
Dear All,

I download Contact Management Database template from Microsoft website and found it very useful. But I have a problem to change primary key from contact ID to first name. (the reason being is that I don't want to duplicate on my customer information)

Each time when I do, following will pop up "This table is primary table in one or more relationships.", I then tried to delete relatioons table and failed.

Can anybody help? Thanks in advance for your help.

Regards,

kailuo
Nov 10 '07 #1
2 2079
FishVal
2,653 Expert 2GB
You may just create unique index on [first name] field (though I suppose you would like to create a multifield index on first and last name fields) to ensure the field to have unique values.

Regards,
Fish.
Nov 11 '07 #2
NeoPa
32,556 Expert Mod 16PB
As Fish says, it's better to add an index on the first Name field rather than trying to fiddle with the PK. PKs should only be changed with a good understanding of the overall effect.
However, it's very rarely a good idea to make a First Name field a unique index as generally, they just aren't.
Nov 13 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: jonathan.beckett | last post by:
Hi All, For the past few months I have been working on an open source Apache/PHP/MySQL content management system - and have recently made it available for download. It's still very much a...
0
by: jonathan.beckett | last post by:
Hi All, I have just made version 0.4.8 of the PluggedOut CMS Content Management System available for download - it's free, and covered by the GPL. It's still very much a work in progress...
20
by: wolftor | last post by:
Would anyone be willing to beta test my application for me and give me some feedback? I can give you feedback in exchange (ie. if there are parts you're interested in knowing how it was done) or I...
1
by: Eddie | last post by:
Hi, I was wondering if anybody can point me to a template or code generator where I can point it to a database and it would automatically create the insert/delete/update/search code. Another...
0
by: Jeff | last post by:
I'm looking to add features to an existing ASP.NET 1.1 Web application. I've been googling for contact manager software - like ACT! or GoldMine - but I don't need something that is so...
7
by: Water Cooler v2 | last post by:
I know what it is, and yet the knowledge of what a CMS is, is so vague that I find myself asking this question every now and then. I've googled and read the resources too. However, the knowledge is...
10
by: JJ | last post by:
I am needing to write a simple content management system for my web site. I've not done this before so if anyone has any link/info please could you mention them? One thing I am confused about:...
3
by: saringer | last post by:
Hi, I'am new to this forum so if I ask something stupig please forgive :) I want to do something like the contact management database which is offered by microsoft for download. I played a...
1
by: Graham McDowell | last post by:
Hi Guys I just found this forum by chance whilst trying to find an answer to my question so I hope it's OK to just come on here and ask a question? I want to start using a simple contact...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.