Solved

#ERROR

Posted on 1998-07-02
3
461 Views
Last Modified: 2012-05-04
We are using a table on which we do dataentry with a simple form (created by the wizard).  We have run queries and reports with no problems.  We had to add a new information field to the table.  After creating a new field, we deleted the old form and made a new form for data entry that includes the new field.  We ended up with some duplicate records.  We deleted the duplicates in the table view, by highlighting that row and deleting.
The next time we opended the database, there are a number of records in the table view that have #ERROR written in each field in the row -- including our autonumber key field -- it says #ERROR and does not give this record an autonumber.  The error message that the office assistant gives is:  "Not a valid bookmark" and you have to click on the assistant three or four times to make it disappear.  Also, the assistant balloon says click here for more information, and when you click there, it lists the error as ERROR 3159.

We are using Access 97 for Windows 95.

Appreciate any help.
0
Comment
Question by:portia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
devtha earned 100 total points
ID: 1976105
If you set the Bookmark property to a string that represents a deleted record, a trappable error occurs.
The value of the Bookmark property isn't the same as a record number.
Try refreshing the records through the form, Use showall records from the menu. See if the same is also existing in the table.
Was there a bookmark property used on this form before deleting the duplicates?

You could try the following.
Dim MyMark As String
MyMark = Forms![MyForm].Bookmark




0
 
LVL 12

Expert Comment

by:Trygve
ID: 1976106
Is this table located on an SQL Server. If so duplicate records in combination with autonumber fields will possibly give you this error. You should then remove try to straighten up the table on the server before working further on it in Access.
0
 

Author Comment

by:portia
ID: 1976107
The table is located on an SQL Server -- the error was created when we deleted the duplicate records.  Also, we were able to stop the error message by using repair under the database utilities.  It fixed it right up.

Sorry for the delay in responding.  Our internet connection was lost (with our old network adm) and has just been restored (we have a new admin)
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question