Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 28th, 2004, 09:14 PM
Registered User
Join Date: Sep 2004
Location: northridge, ca, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dvlnblk2000
Default ACCESS Programming DELTE problem

Hello, I have a continous form that shows all users in this address book app I am building. I put a delete button next to the person's information and it shows up continuously. But when I press the delete button I get an error beep and the record is still there. Here is my code:

Private Sub delteIcon_Click()
On Error GoTo Err_delteIcon_Click

    DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
    DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
     DoCmd.OpenForm "ViewAll"

    Exit Sub

I can do this when I only view one record at a time but can I get it to work on the continuous form? By the way, I saw that someone had a problem with the record showing #DELETED after they hit the delete button on a record. I was able to fix this by closing the results form and reopening it:

     DoCmd.OpenForm "ViewAll"

Thanks for the help in advance

Reply With Quote
  #2 (permalink)  
Old September 29th, 2004, 07:50 AM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG

Instead of closing and reopening, how about simply...


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Problem nappydyno234 Java Basics 2 February 11th, 2006 12:27 PM
Linear programming problem milk_vanilla Excel VBA 5 August 25th, 2005 09:06 AM
how to prompt user if they try to delte wrong valu method ASP.NET 1.x and 2.0 Application Design 4 June 17th, 2005 08:32 AM
Programming in Access Using VB bell Access VBA 7 November 4th, 2004 06:12 PM
Problem while programming Ecard samir ASP.NET 1.0 and 1.1 Professional 1 December 14th, 2003 01:44 PM

All times are GMT -4. The time now is 10:55 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.