If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Deleting Relationships...
I need to change the data type of my ID fields in all my tables from number
to text. The way I see it, I would need to delete all the relationships between the tables that connect the ID fields. Is there another way to do this? -OR- If I do have to delete the relationships, change the data types, then recreate the relationships exactly as they are now, will that screw things up royally? This is assuming I do not runa any reports/queries/forms, etc. while the relationships are gone... Thanks for your help! |
#2
|
|||
|
|||
You will need to remove the relationships, change the data type and
then re-establish the relationship. Make sure your data types and sizes are exact when you change them or you may create problems for yourself as your database gets larger. On Wed, 15 Dec 2004 12:25:04 -0800, "Kojones" wrote: I need to change the data type of my ID fields in all my tables from number to text. The way I see it, I would need to delete all the relationships between the tables that connect the ID fields. Is there another way to do this? -OR- If I do have to delete the relationships, change the data types, then recreate the relationships exactly as they are now, will that screw things up royally? This is assuming I do not runa any reports/queries/forms, etc. while the relationships are gone... Thanks for your help! |
#3
|
|||
|
|||
We're all mentats here so don't tell us why you're doing whatever it is
you're doing. That would give us an unfair chance toward understanding what's on your mind. You say you want to end up with things exactly as they are before you start. I suggest that you leave them that way. You say that you want to get things back to that state before you run any queries or reports ... Just create a new, empty database and copy into it the tables you need. Change the data type for the key fields to text and you should be ready for your mystery operation. HTH -- -Larry- -- "Kojones" wrote in message ... I need to change the data type of my ID fields in all my tables from number to text. The way I see it, I would need to delete all the relationships between the tables that connect the ID fields. Is there another way to do this? -OR- If I do have to delete the relationships, change the data types, then recreate the relationships exactly as they are now, will that screw things up royally? This is assuming I do not runa any reports/queries/forms, etc. while the relationships are gone... Thanks for your help! |
#4
|
|||
|
|||
Check out the Tools section to copy relationships from one MDB to
another http://www.etechrecovery.com/001-AccessFAQ.asp#Tools |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Relationships getting redefined? | raylitalo | General Discussion | 3 | December 15th, 2004 08:31 PM |
Deleting links without deleting the table. | Calaska | Database Design | 2 | October 21st, 2004 10:33 PM |
Q: Can't Delete relationships! | MarkD | General Discussion | 2 | September 24th, 2004 11:13 PM |
Not seeing all relationships in layout window | jettabug | General Discussion | 3 | June 18th, 2004 05:42 PM |
Table Relationships Design | Tom | Database Design | 1 | May 5th, 2004 11:56 PM |