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

access advanced courses - referential integrity

Forum home » Delegate support and help forum » Microsoft Access Training and help » access advanced courses - Referential integrity

access advanced courses - Referential integrity

ResolvedVersion Standard

Tim has attended:
Access Intermediate course
Access Advanced course

Referential integrity

Is it advisable when setting up relationships to enforce referential integrity as a default and then remove only when and if required?

RE: Referential integrity

Hi Tim,

Referential integrity is very powerful when used in the correct context. I would not suggest using referential integrity as a default, unless you are very clear about what you are wanting to enforce. Not all tables need or require it, so I would suggest leaving it off, until you know you need it. This should ideally be built into your database plan, so that you are aware of its requirement prior to building the database.

ie - if you know that you want to ensure that a client number exists, prior to creating an order, then enfore referential integrity.

If you are in the design phase of the database, you might find it frustrating to enable all the referential integrity, only to find that it hinders your development progress.

Regards

Richard

Access tip:

Combo box for finding records

You can use a combo box in a form to look up a record. If you place the comb box in the Form header, by then selcting they a field type from the drop down loist, you will see the record for 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.1 secs.