Re: Problem using Replace function with Memo field
From: Christine in New Jersey (ChristineinNewJersey_at_discussions.microsoft.com)
Date: 03/07/05
- Next message: Carlo Mechanic: "Re: Updating records with a fixed sequence..."
- Previous message: Alexandre - Showmag: "hello"
- Next in thread: John Nurick: "Re: Problem using Replace function with Memo field"
- Reply: John Nurick: "Re: Problem using Replace function with Memo field"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Mar 2005 07:21:02 -0800
John:
Thanks for replying. Sorry I have taken so long to get back to you, but I
needed to work on another project before I could get back to this one.
I've determined that the problem is not with the replace function. Rather,
whenever I attempt in code to change the field value of a memo field that
contains more than 2036 characters, I get the following error:
"Run-time '3188': Could not update; currently locked by another session on
this machine"
This happens not only on my computer using Access 2003, but also on my
client's computer using Access 2000.
Fields that are 2036 characters or less work fine.
Here is a reprensentation of the actual code:
With vTable (recordset variable; vFieldName string variable also defined)
(other code here)
.Edit
.Fields(vFieldName) = "This is a test" ***ERROR OCCURS HERE***
.Update
End With
Any ideas?
Thanks, Christine
- Next message: Carlo Mechanic: "Re: Updating records with a fixed sequence..."
- Previous message: Alexandre - Showmag: "hello"
- Next in thread: John Nurick: "Re: Problem using Replace function with Memo field"
- Reply: John Nurick: "Re: Problem using Replace function with Memo field"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|