PC Review


Reply
Thread Tools Rate Thread

Importing tables and Relationships

 
 
=?Utf-8?B?SmFuaW5l?=
Guest
Posts: n/a
 
      23rd Aug 2004
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
 
Reply With Quote
 
 
 
 
Jeff Boyce
Guest
Posts: n/a
 
      23rd Aug 2004
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>

 
Reply With Quote
 
 
 
 
Stephen Lebans
Guest
Posts: n/a
 
      23rd Aug 2004
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" <(E-Mail Removed)> wrote in message
news:3A7F201F-5EA9-46BA-9488-(E-Mail Removed)...
> 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


 
Reply With Quote
 
=?Utf-8?B?SmFuaW5l?=
Guest
Posts: n/a
 
      24th Aug 2004
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>
>
>

 
Reply With Quote
 
=?Utf-8?B?SmFuaW5l?=
Guest
Posts: n/a
 
      24th Aug 2004
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" <(E-Mail Removed)> wrote in message
> news:3A7F201F-5EA9-46BA-9488-(E-Mail Removed)...
> > 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

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with tables, importing PDF and relationships. =?Utf-8?B?U3liZXJwYW50aGVy?= Microsoft Access 2 27th Sep 2006 01:52 AM
Importing Tables/Missing Relationships =?Utf-8?B?RWxlbmE=?= Microsoft Access Queries 1 20th May 2005 12:43 AM
Importing ODBC data tables - how to import table relationships as =?Utf-8?B?Q2xheXRvbg==?= Microsoft Access External Data 1 7th Nov 2004 04:34 AM
Exporting/Importing Tables Relationships Steve Microsoft Access External Data 0 17th Nov 2003 09:14 PM
Importing Data Into Completed DB with Tables and Relationships Microsoft Access External Data 4 20th Oct 2003 03:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:18 PM.