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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Manually splitting the database



 
 
Thread Tools Display Modes
  #1  
Old October 26th, 2005, 04:19 PM
Gitche Gumee
external usenet poster
 
Posts: n/a
Default Manually splitting the database

I followed the instructions he
http://support.microsoft.com/?kbid=304932....almost. Instead of linking the
tables first, I imported the queries, forms, etc first.

Would this cause all my queries to break? Because that's what has happened.

It's a simple matter to just do it over in the correct sequence, which I
will try tonight. But in the meantime, I'm just wondering if the sequence of
link tables/import queries makes a difference.
  #2  
Old October 26th, 2005, 05:12 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default Manually splitting the database

Yes. There are cases where importing queries to non-existent tables yields
unusable results.

Delete the queries, make sure Name AutoCorrect is off, compact, import the
tables, and then import the queries again.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gitche Gumee" wrote in message
...
I followed the instructions he
http://support.microsoft.com/?kbid=304932....almost. Instead of linking
the
tables first, I imported the queries, forms, etc first.

Would this cause all my queries to break? Because that's what has
happened.

It's a simple matter to just do it over in the correct sequence, which I
will try tonight. But in the meantime, I'm just wondering if the sequence
of
link tables/import queries makes a difference.



  #3  
Old October 26th, 2005, 05:20 PM
Tim Ferguson
external usenet poster
 
Posts: n/a
Default Manually splitting the database

=?Utf-8?B?R2l0Y2hlIEd1bWVl?=
wrote in :

I followed the instructions he
http://support.microsoft.com/?kbid=304932....almost. Instead of
linking the tables first, I imported the queries, forms, etc first.

Would this cause all my queries to break? Because that's what has
happened.


What you need to end up with is one file with a bunch of tables in it; and
another file with a load of reports and forms etc, and linked tabledefs
pointing at the bunch of tables in the other file. It doesn't matter what
order you go about it: you can rip the UI features out of the tables mdb,
or you can rip the tables out of the UI.

Have you forgotten to Get External Data Link Tables in your new UI file?
As long as the links have the same name as the original tables did, then
the queries and forms etc will just use those links without noticing any
difference.

Hope that helps


Tim F

  #4  
Old October 26th, 2005, 05:59 PM
Gitche Gumee
external usenet poster
 
Posts: n/a
Default Manually splitting the database

I linked the tables. The queries seem to be oblivious to that. In query
design view there are no relationships between the tables and all of the
field names in the query have been converted to expressions.

"Tim Ferguson" wrote:

=?Utf-8?B?R2l0Y2hlIEd1bWVl?=
wrote in :

I followed the instructions he
http://support.microsoft.com/?kbid=304932....almost. Instead of
linking the tables first, I imported the queries, forms, etc first.

Would this cause all my queries to break? Because that's what has
happened.


What you need to end up with is one file with a bunch of tables in it; and
another file with a load of reports and forms etc, and linked tabledefs
pointing at the bunch of tables in the other file. It doesn't matter what
order you go about it: you can rip the UI features out of the tables mdb,
or you can rip the tables out of the UI.

Have you forgotten to Get External Data Link Tables in your new UI file?
As long as the links have the same name as the original tables did, then
the queries and forms etc will just use those links without noticing any
difference.

Hope that helps


Tim F


  #5  
Old October 26th, 2005, 06:00 PM
Gitche Gumee
external usenet poster
 
Posts: n/a
Default Manually splitting the database

Thanks. I'll try that before running the whole process again and will report
back.



"Allen Browne" wrote:

Yes. There are cases where importing queries to non-existent tables yields
unusable results.

Delete the queries, make sure Name AutoCorrect is off, compact, import the
tables, and then import the queries again.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gitche Gumee" wrote in message
...
I followed the instructions he
http://support.microsoft.com/?kbid=304932....almost. Instead of linking
the
tables first, I imported the queries, forms, etc first.

Would this cause all my queries to break? Because that's what has
happened.

It's a simple matter to just do it over in the correct sequence, which I
will try tonight. But in the meantime, I'm just wondering if the sequence
of
link tables/import queries makes a difference.




  #6  
Old October 26th, 2005, 07:31 PM
Gitche Gumee
external usenet poster
 
Posts: n/a
Default Manually splitting the database

Deleting the queries and then re-importing them did the trick.

Thanks.

"Allen Browne" wrote:

Yes. There are cases where importing queries to non-existent tables yields
unusable results.

Delete the queries, make sure Name AutoCorrect is off, compact, import the
tables, and then import the queries again.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gitche Gumee" wrote in message
...
I followed the instructions he
http://support.microsoft.com/?kbid=304932....almost. Instead of linking
the
tables first, I imported the queries, forms, etc first.

Would this cause all my queries to break? Because that's what has
happened.

It's a simple matter to just do it over in the correct sequence, which I
will try tonight. But in the meantime, I'm just wondering if the sequence
of
link tables/import queries makes a difference.




  #7  
Old October 27th, 2005, 05:37 PM
Tim Ferguson
external usenet poster
 
Posts: n/a
Default Manually splitting the database

=?Utf-8?B?R2l0Y2hlIEd1bWVl?= wrote
in :

I linked the tables. The queries seem to be oblivious to that. In query
design view there are no relationships between the tables and all of the
field names in the query have been converted to expressions.


Can you post the "before" and "after" SQL of the queries? It sounds very
strange to me.

What happens when you open the back end database (the one with the actual
tables still in it)? Are the relationships still visible there in the
Relationships window? As long as they are there, then it doesn't matter
whether the front end sees them or not: the engine will still refuse to
make any updates that break the RI constraints.

Best wishes


Tim F

 




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
Auto Compact with Runtime Access? Gordon Jones General Discussion 8 October 21st, 2005 04:55 PM
Splitting Database LaurieB Database Design 3 June 4th, 2005 06:33 PM
splitting database for multiple users Ian AFFS General Discussion 6 November 8th, 2004 05:05 PM
Archiving A Database PC User General Discussion 2 November 2nd, 2004 11:16 PM
Database Window Gone DaveB General Discussion 2 July 29th, 2004 12:24 AM


All times are GMT +1. The time now is 06:37 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.