473,748 Members | 9,641 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

odbc timeout

I have list box showing list of worksheet with double click event:
Dim rs3 As Object
Set rs3 = Me.Recordset.Cl one
rs3.FindFirst "[ID] = " & Str(Me![ResultsFound])
Me.Bookmark = rs3.Bookmark
Dim appttype As Variant
appttype = DLookup("[type]", "tblws", "[ID] = " &
Str(Me![ResultsFound]))
DoCmd.OpenForm "frmWS", , , "[ID]=" & Me![id]

When table is local to Access:
The correct worksheet comes up. It says filtered 1 of 1. You can
update it, save it and close it.

I upsized all tables to SQL and linked them in Access.
Worksheet comes up, but now after worksheet is updated, as I click to
save it, I get:
ODBC update on linked table 'tblws' failed. Timeout expired.

If I open the same form frmWS, and do a filter by selection, everything
works.
So what is the issue with my code above that it doesn't work on sql
server?
Thanks in advance.

Jan 5 '06 #1
0 1614

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

Similar topics

1
25748
by: Vincento Harris | last post by:
sql server 2000 8.00.194 Microsoft Windows 2000 Service Pack 2 I looked into my sqlserver agent log and found the following ODBC Error 0 Timeout expired logon to server local '( failed)' (Job manager) I have no idea what that means but it did keep out users for a minute or more. The threads found on this forum almost all point to reccuring situations
2
16986
by: efinney | last post by:
Hi, Has anyone ever had trouble using the query analyzer tool through a vpn client? I'm able to connect outside of work to a sqlserver db on my company lan with enterprise mgr, but the query analyzer times out every time I try to connect from outside of work. Both utilities work fine at work (no vpn tunnel). The exact error is:
6
3378
by: Anil Kumar Saharan | last post by:
Hi, I have a loopback connection using ODBC in the DLL initialization code of the SQL Server ESP Module (SQL Server 2000). The loopback connection works fine when the DSN is specifed with the "NT Authentication", however the same fails when specified with the "SQL Server user authentication". I have tried
6
18692
by: Nifty | last post by:
After creating a routine to select from past ADODB connection strings, I found that it takes 60 seconds to timeout! I found the Microsoft article below <http://support.microsoft.com/default.aspx?scid=kb;en-us;225859> but wonder if anyone has a work around.
1
1559
by: George | last post by:
Access 2002 SQL Server 2000 ODBC Linked Tables I have a user who gets an ODBC timeout message when trying to save a new record in a form. I looked at the locks on the server and that user was locking himself out. On the same server I can enter records fine with that form, except when he's in there, he's using the same application (copy of).
1
3197
by: olle | last post by:
Hi. I have the problem that some records in a ms sqlserver table is unable to update from Access. I get the error message odbc-time out error in linked table...... I tried to copy this table to another database, where none but me was aktive. And then it worked quit ok when I try to save the record. I am thinking about if there is some trigger och restraint that I don't know about, but I don't know how to se all of this in the
16
9188
by: network-admin | last post by:
We have Problems with Access query on Oracle 10g Database with ODBC Connection. The Query_1 is such as select * from xtable where ycolumn <"S" Result = ODBC Faild ----------------------------------------------------
2
6633
by: teddysnips | last post by:
One of our clients has reported a problem. Everything was working fine on Monday, but since Tuesday all is going wrong. The sysadmin assures me that there have been no changes to the network, or the servers. Three applications, one back-end database server (SQL Server 2000 with all service packs etc.). APP 1: Access 2000 database APP 2: ASP.NET (VS 2003)
1
4850
by: nilaangel78 | last post by:
Hi, I am developing winforms project using vb.net. In this i am connecting SQL 2000 DB using odbc connection. When i run SQL select query i am getting timeout error. But the same select query runs in the query analyzer for 7 minutes. I have also set the odbccommand.Timeout as 0. But still i have the same problem. Please it's very urgent.
10
21151
by: Steve Eslinger | last post by:
I have a query that I built using VB. It takes parameters that I pass in from a form and inserts records into a table. The problem I have is some of the values I enter cause the query to timeout. I need to know how to set the ODBC timeout value so my query will run. My query text is listed below Private Sub Command104_Click() On Error GoTo Err_Command104_Click Dim stDocNameInfo02 As String Dim stDocNameInfo03 As String Dim...
0
8989
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8828
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9537
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9319
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9243
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.