Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8727891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:31:29+00:00 2026-06-13T08:31:29+00:00

I have a problem with one of my databases that I have had for

  • 0

I have a problem with one of my databases that I have had for some time that is somewhat of an annoyance.

I have a form in continuous view in which the user must fill out some information for each record and then click a “commit” button (for each record).

Based on the values entered for that record, the “commit” button will first insert the information in one of two tables, then delete the record from the temporary table from which the form is querying.

psuedocode for it is here:

IF x.checked && y > 70 then
  db.execute "Insert into tblCompleted values (me.empID,'completed',me.y);
else
  db.execute "insert into tblIncompleted values (me.empid, 'incomplete', 'me.y);
end if
db.execute "delete * from tblTemporary WHERE empid = me.empID"
 'form.requery
'form.refresh

I will sometimes get a ‘record is deleted’ runtime error, sometimes twice for the same record. However, all operations do work. After it has been completed, however, the record shows ##DELETED. To fix this, I put a Form.refresh and Form.requery statement at the end of my code. This will eliminate the ##DELETED record, but often throw me a “record is deleted” error.

Before you say “why are you using two tables, couldn’t this just be modeled with one table”, this is a simplified version of what I’m actually doing, and to me, using two tables makes more sense design-wise.

My main concern is this run time error. I could just catch it and leave it unhandled, but I’d prefer actually fixing it and sorting out this buggy form. Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T08:31:30+00:00Added an answer on June 13, 2026 at 8:31 am

    I think the reason is that immediately after deleting the record, your form is still trying to show it. The answer in a related post suggests moving the bookmark to the previous record before deleting the current one using code like this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one problem , I want to get some data from XML file
i have one problem when i sort the NSMutablearray using date and time wise.
I have one problem... There is a table in my MySQL database that stores
On my app I've got a Database which i have to fill one time
I'm trying to migrate django apps, and i have problem with one. When i
I have one problem with parsing *.docx document with OpenXML (C#). So, here's my
I have one problem with Javascript Nodes.I want to find out what button was
i have one problem with handling list,i have three class named as UserInf,userData,userProcess,i created
I have one problem, I learn how work with socket and I write programm
I have one problem with android calendar programming, so If there are 2 months

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.