Hello everybody
Since I upgraded my Office XP Professional to SP3 I got strange
behaviour.
Pieces of code which works for 3 years now are suddenly stop to work
properly.
I have Office XP Developer (SP3 for Office, SP1 for developer,
JET40SP8) on Windows XP Home Edition (SP1). The same behaviour occurs
on Windows 98 too.
1. The DoMenuItem don`t work anymore as it works until a couple a
weeks. When I try to delete a record using following code
(DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, ,
acMenuVer70 )
I got the error message 3021 "No current record". This code works fine
in Access 97 and in Access 2000 ( I have them installed on the same
box with Access XP) but it stops working properly in Access XP.
2 . Also when I`m trying to delete a record, error message 3709 "The
search key was not found in any record" appears.
Does anyone know why this strange behaviour occurs and if there is a
solution to these problems?
Thank you very much for your time!
Sebastian C. 3 4808
This is a known issue with Office XP SP3.
Just add error handling to the routine to ignore error 3021.
The delete works, and it sorts itself out after this event is over.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Sebastian C." <se******@xnet.ro> wrote in message
news:99*************************@posting.google.co m... Hello everybody
Since I upgraded my Office XP Professional to SP3 I got strange behaviour. Pieces of code which works for 3 years now are suddenly stop to work properly. I have Office XP Developer (SP3 for Office, SP1 for developer, JET40SP8) on Windows XP Home Edition (SP1). The same behaviour occurs on Windows 98 too.
1. The DoMenuItem don`t work anymore as it works until a couple a weeks. When I try to delete a record using following code (DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70 DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70 ) I got the error message 3021 "No current record". This code works fine in Access 97 and in Access 2000 ( I have them installed on the same box with Access XP) but it stops working properly in Access XP. 2 . Also when I`m trying to delete a record, error message 3709 "The search key was not found in any record" appears.
Does anyone know why this strange behaviour occurs and if there is a solution to these problems?
Thank you very much for your time!
Sebastian C.
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message news:<40***********************@per-qv1-newsreader-01.iinet.net.au>... This is a known issue with Office XP SP3.
Just add error handling to the routine to ignore error 3021. The delete works, and it sorts itself out after this event is over.
-- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org.
"Sebastian C." <se******@xnet.ro> wrote in message news:99*************************@posting.google.co m... Hello everybody
Since I upgraded my Office XP Professional to SP3 I got strange behaviour. Pieces of code which works for 3 years now are suddenly stop to work properly. I have Office XP Developer (SP3 for Office, SP1 for developer, JET40SP8) on Windows XP Home Edition (SP1). The same behaviour occurs on Windows 98 too.
1. The DoMenuItem don`t work anymore as it works until a couple a weeks. When I try to delete a record using following code (DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70 DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70 ) I got the error message 3021 "No current record". This code works fine in Access 97 and in Access 2000 ( I have them installed on the same box with Access XP) but it stops working properly in Access XP. 2 . Also when I`m trying to delete a record, error message 3709 "The search key was not found in any record" appears.
Does anyone know why this strange behaviour occurs and if there is a solution to these problems?
Thank you very much for your time!
Sebastian C.
Is the same issue with Office XP SP3 regarding the error:
"3709. The search key was not found in any record." also when I try to
delete a record?
Thank you very much!
Sebastian C.
Haven't seen Err 3709 caused by SP3. That message may indicate a corruption
in the database.
You might also check if this knowledgebase article applies: http://support.microsoft.com/default...roduct=acc2002
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org. Is the same issue with Office XP SP3 regarding the error: "3709. The search key was not found in any record." also when I try to delete a record?
Thank you very much!
Sebastian C. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Paul Drummond |
last post by:
Hi all,
I am developing software for Linux Redhat9 and I have noticed some very
strange behaviour when throwing exceptions within a shared library.
All our exceptions are derived from...
|
by: Mark Barinstein |
last post by:
Hello.
W2K, db2 v7, fp11.
Given:
create table pays (
acode integer not null,
packno smallint not null,
sum decimal(15, 2) not null
|
by: Steve Strik |
last post by:
My Problem:
I have created a database here at work that is exhibiting some very
strange behaviour.
Essentially the database is structured in a manner where one table is
a master record table...
|
by: john |
last post by:
Rich Text Box in Access form
Hello:
For example i have to tables in access: PERSON and ADDRESS in a one to
many relation.
And now i want to have a main PERSON form with a subform ADDRESS on
it....
|
by: Paolo |
last post by:
Hi to all,
I have an error that drove me crazy. Try the following page that should only
allow to upload a file:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">...
|
by: nome |
last post by:
Hello
Hoping someone can help explain the following behaviour.
I have an application that does a series of redirects before hitting
in a login page.
If I insert this application hyperlink to...
|
by: Dox33 |
last post by:
I ran into a very strange behaviour of raw_input().
I hope somebody can tell me how to fix this.
(Or is this a problem in the python source?)
I will explain the problem by using 3 examples....
|
by: Pilcrow |
last post by:
This behavior seems very strange to me, but I imagine that someone will
be able to 'explain' it in terms of the famous C standard.
-------------------- code -----------------------------------...
|
by: erikbower65 |
last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to...
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: DJRhino1175 |
last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this -
If...
|
by: DJRhino |
last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer)
If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _
310030356 Or 310030359 Or 310030362 Or...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: lllomh |
last post by:
How does React native implement an English player?
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
| |