access table primary key

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

Forum home » Delegate support and help forum » Microsoft Access Training and help » Access Table Primary Key

Access Table Primary Key

resolvedResolved · Medium Priority · Version 2007

Andy has attended:
Access Introduction course
Access Intermediate course
Access Advanced course
Access Advanced course

Access Table Primary Key

If I set a Primary Key using 2 fields, if the information changes in one of the fields (e.g. a status of a Supplier changes from 0 to 1), will it affect Queries and Reports functions ability to collate historic information for that Supplier?

RE: Access Table Primary Key

Hi Andy,

Thank you for your question and welcome to the forum.

I believe it will have an impact as all the queries and forms are based on the data in the tables.

What you could do is create a make table action query to create a new table with the current set of records before you change the Supplier from 0 to 1. This will allow you to keep the historic data in a separate table.

I see from the information that you are coming on the Intermediate course and you will learn that function then.

If you create a query in Design View and go to the Query Tools menu and Design Tab, you will see the Make Table Action query option.

Here is a link to an example:

http://www.youtube.com/watch?v=bI_3iWHBL1Y

I hope this helps.

Regards

Simon



Thu 25 Nov 2010: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Access tip:

Switchboard Startup

An option when you open your Access database that contains all of you tables, forms and queries is only the switchboard is displayed.

To achieve this, select Tools click on Startup. On the right hand side of the Startup screen you are able to select which form you want to open when you open you Access Database. Once you have selected this, there is a check box just below that says "Display Database Window", you need to uncheck this option. Then click ok.

Then when you close you Access database and re open it, the database should open with just the switchboard being shown


View all Access hints and tips


Server loaded in 0.08 secs.