![]() |
ODBC Error 3146 on rs.update
Hi,
Using MS Access, I have a form that is based on a table called Motion_Imagery. In the VBA of this code I want to take two fields on the form and add the data in those two fields to the last record that was added to table Online_Books. When I run my code I get the error when it gets to rs.update, here is my code: Set db = CurrentDb() Set rs = db.OpenRecordset("dbo_Filestream_Files", dbOpenDynaset, dbSeeChanges) rs.MoveLast rs.Edit rs![Prefix_CTRL_NBR] = Me.Prefix_CTRL_NBR rs![CTRL_ID] = Me.CTRL_NBR rs.Update Can you tell me what the problem is? Is this possible to do? Thanks, Sharon |
Re: ODBC Error 3146 on rs.update
Here is my code followed by my C# code. The error I'm getting is ODBC 3146 on the rs.Update
MS ACCESS: Code:
Public Sub Load_Files_Click()Code:
using System; |
| All times are GMT +5.5. The time now is 11:44. |