A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Deleting Relationships...



 
 
Thread Tools Display Modes
  #1  
Old December 15th, 2004, 08:25 PM
Kojones
external usenet poster
 
Posts: n/a
Default 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  
Old December 15th, 2004, 09:13 PM
Doug B.
external usenet poster
 
Posts: n/a
Default

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  
Old December 16th, 2004, 03:37 AM
Larry Daugherty
external usenet poster
 
Posts: n/a
Default

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  
Old December 17th, 2004, 11:46 PM
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 10:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.