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

microsoft training access course - changing existing relationships

Forum home » Delegate support and help forum » Microsoft Access Training and help » microsoft training access course - Changing Existing Relationships

microsoft training access course - Changing Existing Relationships

ResolvedVersion Standard

Oliver has attended:
Access Intermediate course

Changing Existing Relationships

The database im currently using was passed on to me by a collegue.

The main table contains an oilfield 'Name' but the fields have not been given ID numbers. I want to add this as an autonumber, which i believe is fairly straight forward. However, this main table has a lot of relationships coming flying out of it, linking to other tables by the 'Name'.

What must i do to make sure that the links are maintained correctly when i swap them over to ID instead of name?

RE: Changing Existing Relationships

PS. What im also concerned about is, whether i can Add this ID field to the main table and also have this update properly into the other tables, without having to type it in for each (the database has around 2500 records).

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

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.