Link to home
Start Free TrialLog in
Avatar of XPertti
XPertti

asked on

Problems whit MSysObjects Table

Hi,

i am trying to edit MsSysObjects table in order to allow autolinking of table from  SQL-Server, how ever
i get following error message in a satusbar: "Control can't be edited it's bound to replication system
Column 'Connect'".

I have tried to set all the security premissions (tools/security) but that hasen't been any help
any ideas how to fix this?

XPertti
 
Avatar of njelger
njelger

I don't think you can edit System Tables, But what exactly are you trying to do? It can probably be solved som other way.


/ j
Avatar of Jim Dettman (EE MVE)
Not only can't you, but even if you could, you really don't want to.  Editing MSysObjects can mess up a database in a big way.  

As njelger said, I'm sure there is another way to do what you want.

Jim.
Avatar of XPertti

ASKER

Well hmm i have failed to create ODBC source which would allow automatic link to SQL server. It allways asks for username and password. Any solution for this would be much apperciated. SQL-Server uses mixed mode authentication.

XPertti
 
show me what you have done.
Avatar of XPertti

ASKER

This is the .dsn file that is created and used to link  i tried to add PWD line whit text editor, but when Access is restarted it fails to link to the sql server again.

[ODBC]
DRIVER=SQL Server
UID=login
PWD=password
Network=DBMSSOCN
WSID=server
APP=Microsoft Open Database Connectivity
SERVER=server
Description=Test1
<<It allways asks for username and password. Any solution for this would be much apperciated. SQL-Server uses mixed mode authentication.>>

To avoid the username/password prompt, you must specify it in the connection string of the tabledef.  This article:

HOWTO: Use CDao for Connections to a Secure Attached Table
http://support.microsoft.com/default.aspx?scid=kb;en-us;186383

Give and example and outlines the steps for setting up the ODBC connection.  It was written for C++, but it still applies.

Jim.
Avatar of XPertti

ASKER

This is the .dsn file that is created and used to link  i tried to add PWD line whit text editor, but when Access is restarted it fails to link to the sql server again.

[ODBC]
DRIVER=SQL Server
UID=login
PWD=password
Network=DBMSSOCN
WSID=server
APP=Microsoft Open Database Connectivity
SERVER=server
Description=Test1
ASKER CERTIFIED SOLUTION
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of XPertti

ASKER

Where is the source? :)
Source of what?

Jim.