Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Type Mismatch ?????
Message
De
27/08/2001 11:06:55
 
 
À
Tous
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Titre:
Data Type Mismatch ?????
Divers
Thread ID:
00549451
Message ID:
00549451
Vues:
55
The following line in the code below generates a Data Type Mismatch Error any ideas why? I took the code straight out of a MSAccess book.

Set R = CurrentDb.OpenRecordset(SQLText)
Private Sub Command32_Click()
    
cDim R As Recordset, SQLText
SQLText = "Select * From Product Where Catalog = 'CAT3'"
Set R = CurrentDb.OpenRecordset(SQLText)
If R.RecordCount Then

    MsgBox "Record exists"
Else
    MsgBox "Record not found"
End If

End Sub
Here's to alcohol...the cause of ... and solution to ... all of life's problems - - Homer J. Simpson
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform