Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

microsoft access course - change primary key

Forum home » Delegate support and help forum » Microsoft Access Training and help » microsoft access course - Change of Primary Key

microsoft access course - Change of Primary Key

ResolvedVersion Standard

Colin has attended:
Access Introduction course
Access Advanced course
Access Intermediate course
Excel VBA Intro Intermediate course

Change of Primary Key

If after setting up a Database , I wished to amend the Primary key - would I have to undo all the relationships first ?.

RE: Change of Primary Key

Hi Colin

Yes you will need to remove all of the table relationships before you alter the primary key in Microsoft Access. This is vital as the primary key is used to link the tables within Microsoft Access and any change to the primary key field will effect the relationships that link the tables with MS Access. So if you remove the table relationships then you remove all the links between the Access database tables. Once all of the links are removed the primary key fields can be changed.

Hope this helps

David

Access tip:

Create An Inaccessible Field On A Form

There is sometimes a need to make a field in a form look like a normal field but be completely inaccessible to the user. To do this:

In the Field's Properties
Set the ENABLED property to No
Set the LOCKED property to Yes

The field will not grey out, but the user will not be able to do anything with it.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.