Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 25th, 2005, 03:39 PM
ru1 ru1 is offline
Authorized User
Join Date: Feb 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Duplicate Error Message Stopping it

Does anyone now how I can stop the error message from appearing when I am removing duplicate entries. I am populating a temp table in a form and it works great. But, for every user, I get the message about not being able to append so many records.



Old February 25th, 2005, 03:51 PM
Friend of Wrox
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post

How are you populating the table? Is it the recordsource, or are you using code to insert records?

Old February 25th, 2005, 04:53 PM
Authorized User
Join Date: Feb 2004
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts

i dont know what you are exactly look for but here is some solutions
docmd.setwarnings false
or another example
Private Sub cmdclick_Click()
On Error GoTo Err_cmdclick_Click

    Dim stDocName As String
    Dim stLinkCriteria As String

    stDocName = "someform"
    DoCmd.OpenForm stDocName, , , stLinkCriteria

    Exit Sub

rem here you can put what ever you want do show
MsgBox "There was a problem while opening your form",vbinformation,"some title"
    Resume Exit_cmdclick_Click
End Sub

Best Regards,
Hamed Gholamian

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP & Forms: stopping spam and multiple posts stephen_c_ Beginning PHP 1 July 28th, 2005 02:36 PM
No Duplicate Records Error crapanz PHP Databases 0 September 28th, 2004 07:31 PM
Stopping frequent submission rajuru Beginning PHP 1 August 20th, 2004 09:56 AM
how to create duplicate error message??? elleetan Access 1 September 16th, 2003 10:47 PM
ASP 0177 Object server is stopping when OLE servic not24 Classic ASP Components 2 August 12th, 2003 02:58 PM

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