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

Importing tables and Relationships



 
 
Thread Tools Display Modes
  #1  
Old August 23rd, 2004, 09:09 AM
Janine
external usenet poster
 
Posts: n/a
Default Importing tables and Relationships

I have a VBA utility that imports tables in a MS SQL Server 2000 database to
an Access 2000 database and also provides the user with a function to delete
these tables again. This Access database is only for users to view data,
hence I cannot link the tables as I do not want them making any changes to
the data.

They do, however, need the Relationship diagram set up. This is not possible
as each time re-importing of the tables take place, the tables need to be
deleted first which causes an error if part of the Relationship diagram.

How can I save the Relationship diagram and allow users to re-import and
delete tables?

Any help will be appreciated,
Janine
  #2  
Old August 23rd, 2004, 12:19 PM
Jeff Boyce
external usenet poster
 
Posts: n/a
Default

Janine

It sounds like the underlying need is to provide users a view of data which
they cannot change. This does not require importing a copy.

If you link to the SQL Server data using a DSN that relies on a read-only
password in SQL Server, they won't be able to update the SQL Server data.
Set your security in SQL Server.

--
Good luck

Jeff Boyce
Access MVP

  #3  
Old August 23rd, 2004, 11:07 PM
Stephen Lebans
external usenet poster
 
Posts: n/a
Default

See:
http://www.lebans.com/saverelationshipview.htm
NEW - Feb 04/2004 A2KSave-Restore-ModifyRelationshipWindow.zip is an
MDB containing functions to:

1) To allow the saving of the layout of the Relationship window to a
table.
2) To allow the restoration of the layout of the Relationship Window
from a table.
3) To allow the saving/restoration of multiple Relationship Window
views.
4) To allow the importing of the layout of the Relationship Window from
an external MDB.

Here is the A97 version:A97Save-Restore-ModifyRelationshipWindow.zip

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


"Janine" wrote in message
...
I have a VBA utility that imports tables in a MS SQL Server 2000

database to
an Access 2000 database and also provides the user with a function to

delete
these tables again. This Access database is only for users to view

data,
hence I cannot link the tables as I do not want them making any

changes to
the data.

They do, however, need the Relationship diagram set up. This is not

possible
as each time re-importing of the tables take place, the tables need to

be
deleted first which causes an error if part of the Relationship

diagram.

How can I save the Relationship diagram and allow users to re-import

and
delete tables?

Any help will be appreciated,
Janine


  #4  
Old August 24th, 2004, 11:11 AM
Janine
external usenet poster
 
Posts: n/a
Default

Dear Jeff

Thanks for the quick response and advise. Unfortunately, my client does not
want a 'dynamic' Access version of his SQL database. He wants to do the
import and work with the data without it changing all the time.

"Jeff Boyce" wrote:

Janine

It sounds like the underlying need is to provide users a view of data which
they cannot change. This does not require importing a copy.

If you link to the SQL Server data using a DSN that relies on a read-only
password in SQL Server, they won't be able to update the SQL Server data.
Set your security in SQL Server.

--
Good luck

Jeff Boyce
Access MVP


  #5  
Old August 24th, 2004, 11:13 AM
Janine
external usenet poster
 
Posts: n/a
Default

Dear Stephen

Thank you for the response. I downloaded the file and will take a look at
it. Even if it doesn't help me with my current problem, it seems to be handy
to keep around.

Regards,
Janine

"Stephen Lebans" wrote:

See:
http://www.lebans.com/saverelationshipview.htm
NEW - Feb 04/2004 A2KSave-Restore-ModifyRelationshipWindow.zip is an
MDB containing functions to:

1) To allow the saving of the layout of the Relationship window to a
table.
2) To allow the restoration of the layout of the Relationship Window
from a table.
3) To allow the saving/restoration of multiple Relationship Window
views.
4) To allow the importing of the layout of the Relationship Window from
an external MDB.

Here is the A97 version:A97Save-Restore-ModifyRelationshipWindow.zip

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


"Janine" wrote in message
...
I have a VBA utility that imports tables in a MS SQL Server 2000

database to
an Access 2000 database and also provides the user with a function to

delete
these tables again. This Access database is only for users to view

data,
hence I cannot link the tables as I do not want them making any

changes to
the data.

They do, however, need the Relationship diagram set up. This is not

possible
as each time re-importing of the tables take place, the tables need to

be
deleted first which causes an error if part of the Relationship

diagram.

How can I save the Relationship diagram and allow users to re-import

and
delete tables?

Any help will be appreciated,
Janine



 




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
System tables appeared in relationships window??? Max Moor General Discussion 1 August 14th, 2004 12:55 AM
More assistance with Many to Many Relationships Lynn Database Design 3 July 9th, 2004 04:22 PM
Relationships between tables Mel New Users 2 June 11th, 2004 04:00 PM
Need help with Tables Design and Relationships Tom Database Design 24 May 19th, 2004 06:51 PM
Table Relationships Design Tom Database Design 1 May 5th, 2004 11:56 PM


All times are GMT +1. The time now is 01:12 PM.


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