Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    112

    Unanswered: Vb data form wizard (Vb6)

    I am trying to connect to an access 2000 mdb database file. I am trying to make a form with the Vb data form wizard but its not working!. I am completing all the steps to finish (Data form created) hooray.. but when I run the form I get an error message: Compile Error. Procedure declaration does not match description of event or precedure having the same name, and Highlights the code below:
    Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset
    datPrimaryRS.Caption = "Record: " & CStr(datPrimaryRS.Recordset.AbsolutePosition)

    End Sub

    Whats wrong??
    any ideas
    Saltman

  2. #2
    Join Date
    Nov 2004
    Posts
    64
    Saltman,
    Do you have the latest service pack installed 6 ?

    Franki.

  3. #3
    Join Date
    Sep 2004
    Posts
    112
    Yes I have service pack 6 installed. Really strange this one, I cant beleive that even in the data form wizard is not working. why.... I have tried access 2000 mdb and access 97, all goes well through the wizard until I run the form. It has to be something really simple- someone must have the answer.

    Saltman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •