Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > Error with Adodc1_MoveComplete VB6/Access2000

Thread Tools Display Modes
Old 03-12-2004, 01:39 PM
colinuk's Avatar
colinuk colinuk is offline
Junior Contributor
Join Date: Oct 2003
Posts: 221
Question Error with Adodc1_MoveComplete VB6/Access2000

Hi Guys,

Im making a form that inputs editis and deletes data, I'm following steps in a book to guide me and Ive came up against an error I cant work out. I get the following error for the code posted below:

"Procedure declaration does not match decription of event or procedure having the same name."

Private Sub Adodc1_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset) If Adodc1.Recordset.BOF = True Or Adodc1.Recordset.EOF = True Then Command1.Enabled = False Else Command1.Enabled = True End If End Sub

Can anyone assist me her as to what the errror id meaning and how to fix this.

Many thanks
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing MSFlex Grid with A Combo (VB6/Access2000) colinuk Database and Reporting 4 01-27-2005 01:17 AM
ADO RecordSet Not Updating from textbox properly VB6/Access2000 colinuk Database and Reporting 2 02-15-2004 12:10 PM


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..