473,386 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Linked table error or not?

EJO
Thanks everyone!

My workgroup is in a mixed enviroment for using an Access 2k mde as the
front end of a sql server 2000 which is running on the same machine
that some of my users access using Win2003 server terminal services.

1. users on the terminal server, co-located with the sql server, have
no problems
2. users on their local machine (Win XP), get an error message:

Connection Failed:
SQLState: '01000'
SQL Server Error: 10061
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen
(Connect()).
Connection Failed:
SQLState: '08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not
exist or access denied.
On the remote machines, this error first appeared on a single specific
form which had a subform. To get rid of the error, I was able to take
the parent form and remove the subform, adding its data to the parent
form's query and presenting the data on the single form (yay!). Well,
this really didn't get rid of the error...it moved it to an unrelated
report and form, then, as I tried re-linking, the problem has spread to
several tables. The report's datasource table src table can be opened
without the report. The form's error is the context of two drop down
fields whose row source is set as follows (sorry for the runon lines):
Private Sub Form_Open(Cancel As Integer)

If IsNumeric(Me.OpenArgs) = False Then
Me.NavigationButtons = True
Me.AllowAdditions = True
Me.AllowDeletions = True
Me.Command138.Visible = True
Me.CircuitID.RowSource = "SELECT Distinct CktsList.Display,
CktsList.Type FROM WANData INNER JOIN CktsList ON WANData.Site_ID =
CktsList.Site_ID WHERE (((CktsList.Display) Is Not Null) AND
((WANData.Site_ID)=[Forms]![Router]![Site_ID]));"
Me.Combo135.RowSource = "SELECT DISTINCT SR.ID, SR.SR FROM SR INNER
JOIN ((Site INNER JOIN WANData ON Site.ID = WANData.Site_ID) LEFT JOIN
CktsList ON Site.ID = CktsList.Site_ID) ON SR.Site_ID = Site.ID WHERE
(((WANData.Site_ID)=[Forms]![Router]![Site_ID]) AND
((SR.Cancelled)=False) AND ((SR.Accept_Act) Is Null));"
Else
Me.NavigationButtons = False
Me.AllowAdditions = False
Me.AllowDeletions = False
Me.CircuitID.RowSource = "SELECT Distinct CktsList.Display,
Cktslist.Type, WANData.ID FROM (Site INNER JOIN WANData ON Site.ID =
WANData.Site_ID) LEFT JOIN CktsList ON Site.ID = CktsList.Site_ID WHERE
(((CktsList.Display) Is Not Null) AND ((WANData.ID)=" & Me.ID & "));"
Me.Combo135.RowSource = "SELECT DISTINCT SR.ID, SR.SR FROM SR INNER
JOIN ((Site INNER JOIN WANData ON Site.ID = WANData.Site_ID) LEFT JOIN
CktsList ON Site.ID = CktsList.Site_ID) ON SR.Site_ID = Site.ID WHERE
(((WANData.ID)=" & Me.ID & ") AND ((SR.Cancelled)=False) AND
((SR.Accept_Act) Is Null));"
Me.Command138.Visible = False
End If
Please, this problem is huge for my workgroup.

Sep 8 '06 #1
0 1450

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
5
by: Philippa | last post by:
I'm trying to access data in vba using the openrecordset command. The data in on a SQL Server 2000 database, and I have linked tables to that data. the Table I'm trying to access is one of these...
5
by: deko | last post by:
How to run action query against linked table? I have an Access 2003 mdb with an Excel 2003 Workbook as a linked table. When I attempt to run an action query against the linked table I get this...
1
by: annie | last post by:
Hi all, I have recently ported my Access 2000 app to SQL Server, keeping the Access client as the front end using linked tables. I am also using triggers on my SQL tables to trap orphan...
3
by: Michael Plant | last post by:
Hello one and all. I have a stored table in my database and the form I'm using is based on a query that draws data from my stored table and a linked table. The linked table is a *.txt file. ...
0
by: crypto_solid via AccessMonster.com | last post by:
I have been using a SQL database with a VB5 frontend for about 5 years. Works well. Unfortunately I don't have access to the source code. I was tasked with implementing a "job entry" application...
6
by: Lewis Veale | last post by:
I have an Access 2000 front-end pointing at a SQL Server backend, with around 80 linked tables and views. I frequently need to point the front-end at different versions of the back-end, and achieve...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
10
by: Jim Devenish | last post by:
I have a split front end/back end system. However I create a number of local tables to carry out certain operations. There is a tendency for the front end to bloat so I have set 'compact on...
25
by: bubbles | last post by:
Using Access 2003 front-end, with SQL Server 2005 backend. I need to make the front-end application automatically refresh the linked SQL Server tables. New tables will be added dynamically in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.