access

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

Access

resolvedResolved · Low Priority · Version 2003

Laura has attended:
Access Introduction course
Access Intermediate course

Access

do you have to have a primary key?

RE: access

Dear Laura

Thank you for attending Access Intermediate course!! I hope you enjoyed the course and benefited from it.

Primary key is not needed if you are going to only have one table or tables that will not be related to each other.

Primary key is very important when you want to relate tables to each other and extract records from them. Of course in order to create the relationship please remember that there is a foreign key in the other table. If you don't have primary key that means that tables cannot be linked and there will be no difference between using Access and Excel!!

I hope this has answered your query.

If this has answered your query then I would request you to please mark the question as resolved!! If not and you have a specific question related to this then please post it as a new question and we should be able to provide you the solution for it!!

Kindest Regards


Rajeev Rawat
MOS Master Instructor 2000 and 2003
MCAS Master Instructor 2007

Mon 12 Jan 2009: Automatically marked as resolved.


 

Access tip:

Open A Combo Box Automatically

This is helpful if users need to enter large amounts of data. There are two ways to open ComboBoxes when they get the focus by using the tab keys.

When the ComboBox gets focus:

Press Alt + Down Arrow on the keyboard

For it to happen automatically, needs a bit of coding:

1. Add a combo box and a text box control to the form
2. Set the combo box's On Got Focus property to the following event procedure:

Private Sub ComboBoxName _GotFocus()

Me!ComboBoxName.Dropdown

End Sub


3. Open your form in Form View and use the TAB key to make sure it works.

View all Access hints and tips


Server loaded in 0.09 secs.