Increase field size in RDB

Don Eric

Registered User.
Local time
Today, 11:52
Joined
Jul 2, 2009
Messages
12
Hi guys,

This is a really inane question, but how can I increase a field size (from 50 to 255) within a table when it is part of numerous relationships without jeopardising all the relationships?

In the past I have delete relationship links and then make corrections and put the relationships back, but I only did this in small experimental databases and I am concerned that if I delete the relationship in my new (more complex database) it might screw up all the other data as there are subforms, lookups etc in place.

Can anyone suggest the safest way for me to increase the field size?

cheers, Don
 
Extract all the relationship information using vba before you make the changes and reapply it afterwards.
 
Thanks for that Galaxiom. Unfortunately that's well above my head. Just hypothetically, if I were to remove the relationship links and make my field size change and then put the links back, would it screw up all the lookups, queries etc :confused:
 
So long as you put them back you won't have any problem.
Sort them into a nice chart and print it out. (Print screen works for this)

The main ones to get right are the Referential Integrity relationships.
Get these wrong and there will be trouble.

AFAIK the ordinary relationships don't actually have direct effect on a queries as the relationship is crystallised in the join when the query is created.

Likewise with the lookups.
 

Users who are viewing this thread

Back
Top Bottom