Salient
08-23-2007, 04:49 PM
vb6 connecting via ADO to a DNS reference to a MS Access 2003 database
Private Sub cboCategory_Click()
'
With pobjADOtable
.MoveFirst
.Find ("CategoryName=" & cboCategory.Text)
If .EOF Then
MsgText = "Error on Database Table" & vbCrLf _
& "Trying Screaming for help
MsgBox MsgText, vbExclamation, MsgHeader
Exit Sub
Else
LoadText
End If
End With
'
End Sub
Am getting the error on the .find clause
Arguements are of the wrong type, are piut of acceptance range, or are in conflict with one another
:( Anyone know what MS are trying to tell me there :confused:
Private Sub cboCategory_Click()
'
With pobjADOtable
.MoveFirst
.Find ("CategoryName=" & cboCategory.Text)
If .EOF Then
MsgText = "Error on Database Table" & vbCrLf _
& "Trying Screaming for help
MsgBox MsgText, vbExclamation, MsgHeader
Exit Sub
Else
LoadText
End If
End With
'
End Sub
Am getting the error on the .find clause
Arguements are of the wrong type, are piut of acceptance range, or are in conflict with one another
:( Anyone know what MS are trying to tell me there :confused: