Home > Software engineering >  [Microsoft] [ODBC Microsoft Access driver] parameter is insufficient, 8 is looking forward to?
[Microsoft] [ODBC Microsoft Access driver] parameter is insufficient, 8 is looking forward to?

Time:09-30

Download the source code, one of the user control emerged: [Microsoft] [ODBC Microsoft Access driver] parameter is insufficient, 8 is looking forward to?
Have ace deliver!!!!!! I am novice,,,

Private Sub Form_Unload (Cancel As Integer)
Screen. MousePointer=vbDefault
End Sub

Private Sub datPrimaryRS_Error (ByVal ErrorNumber As Long, the Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, fCancelDisplay As Boolean)
'error handling code in the
'want to ignore the error, comment out the next row
'want to capture them, in the add code to handle them
MsgBox "Data error event hit err:" & amp; The Description
End Sub

Private Sub datPrimaryRS_MoveComplete (ByVal adReason As ADODB. EventReasonEnum, ByVal pError As the ADODB library Error, adStatus As the ADODB library EventStatusEnum, ByVal pRecordset As the ADODB library you)
"For this you display the current record position
DatPrimaryRS. Caption="Record:" & amp; CStr (datPrimaryRS. You. AbsolutePosition)
End Sub

Private Sub datPrimaryRS_WillChangeRecord (ByVal adReason As ADODB. EventReasonEnum, ByVal cRecords As Long, adStatus As the ADODB library EventStatusEnum, ByVal pRecordset As the ADODB library you)
'validation code in the
The following action occurs when the event is called '
Dim bCancel As Boolean

The Select Case adReason
Case adRsnAddNew
Case adRsnClose
Case adRsnDelete
Case adRsnFirstChange
Case adRsnMove
Case adRsnRequery
Case adRsnResynch
Case adRsnUndoAddNew
Case adRsnUndoDelete
Case adRsnUndoUpdate
Case adRsnUpdate
End the Select

If bCancel Then adStatus=adStatusCancel
End Sub

Private Sub cmdAdd_Click ()
On Error GoTo AddErr
DatPrimaryRS. You. AddNew

The Exit Sub
AddErr:
MsgBox Err. The Description
End Sub

Private Sub cmdDelete_Click ()
On Error GoTo DeleteErr
With datPrimaryRS. You
. Delete
. MoveNext
If. EOF Then. MoveLast
End With
The Exit Sub
DeleteErr:
MsgBox Err. The Description
End Sub

Private Sub cmdRefresh_Click ()
'only multi-user applications need
On Error GoTo RefreshErr
DatPrimaryRS. Refresh
The Exit Sub
RefreshErr:
MsgBox Err. The Description
End Sub

Private Sub cmdUpdate_Click ()
On Error GoTo UpdateErr

DatPrimaryRS. You. UpdateBatch adAffectAll
The Exit Sub
UpdateErr:
MsgBox Err. The Description
End Sub

Private Sub cmdClose_Click ()
Unload Me
End Sub


Download the source code, one of the user control emerged: [Microsoft] [ODBC Microsoft Access driver] parameter is insufficient, 8 is looking forward to?
Have ace deliver!!!!!! I novice,,,

CodePudding user response:

To confirm registration for control?
Confirm the correct quote?
The location of the error?

CodePudding user response:

When something goes wrong, click run, or click on the open the user control, file on the right-hand side of the uc suppliers, file suffix for CTL,

Confirm register controls the???????
Confirm the correct quote????? How to operate?

CodePudding user response:

reference 1st floor axxxxx response:
confirm registered the controls?
Confirm the correct quote?
The location of the error?


When something goes wrong, click run, or click on the open the user control, file on the right-hand side of the uc suppliers, file suffix for CTL,

Confirm register controls the???????
Confirm the correct quote????? How to operate?

CodePudding user response:

Install MDAC28

CodePudding user response:

reference 4 floor zhao4zhong1 response:
installation MDAC28

Installed, but still useless,,,

CodePudding user response:

User control is not properly installed or configured, I guess,

CodePudding user response:

refer to 6th floor zhao4zhong1 response:
user control is not properly installed or configured, I guess,

How to install and configure the user controls, please?
Because the back is to download the source generation, and I am a novice, the most not modify it.
For help!

CodePudding user response:

Install corresponding version of the Microsoft Access try,
  • Related