473,396 Members | 1,767 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,396 software developers and data experts.

Update problem get error message 3709

Have two tables with identical fields (access 2002).

Trying to combine DATA.

I created two recordsets based on these two tables.
then I used code that looks like this.:

with rstmain
..edit
rstmain(3) = rstadd(3)
..update

When I run this I get error message 3709 (The search key was not found for any
record"). When I "trap" the error it occurs on the line of .update

If I then determine what is in rstmain(3) and rstadd(3), the correct
information is in both places. However the table on which rstmain is based does
NOT have the new information

Any suggestions please.

Thank you for the help in advance.
Nov 12 '05 #1
0 1854

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

Similar topics

16
by: Philip Boonzaaier | last post by:
I want to be able to generate SQL statements that will go through a list of data, effectively row by row, enquire on the database if this exists in the selected table- If it exists, then the colums...
3
by: JB | last post by:
Hello, I am trying to write a query that selects a row from another table with a field that matches the Me!RecordingID that's on the form. For some reason my query is not working and the recordset...
2
by: JB | last post by:
Thanks to both of you for responding. To Pieter: The second asterisk actually isn't there. The original code reads just as you suggested it should. To Phil: I tried changing the 'And' to 'and'...
1
by: Greg | last post by:
I have code which creates a DataAdapter, and upddate command etc, and then finally does and update which fails. The error message which is returned is "Object Reference not set to an instance of...
3
by: Jerry | last post by:
Well, here is some weirdness. First, I noticed that I have 2 Set keywords (silly me). so I removed the 2nd "Set" but still got a syntax error. Then I removed the Where clause, and now it works...
1
by: SarahK | last post by:
All, I am trying to import a table from Excel, but I get the 3709 error, search key not found. Any ideas? My TransferSpreadsheet method statement is: DoCmd.TransferSpreadsheet acImport, ,...
2
by: =?Utf-8?B?U3VuaWwgUGFuZGl0YQ==?= | last post by:
Hi All, I have created a VB.Net application that used classic ADO to access the oracle database. I have mentained a persistant connection in it. When i start the application and it works fine....
1
by: ladybug via AccessMonster.com | last post by:
I am trying to change the data in a text field in a table. I can change this field in other entries, but one specific one I receive this error: The search key was not found in any record. (Error...
2
repath
by: repath | last post by:
I tried the code with automation: For Each sheet In objWorkBook.sheets 'for each sheet in excel loop Debug.Print "Imported sheet is :"; sheet.Name DoCmd.TransferSpreadsheet acImport,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.