Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type mismatch
Message
De
14/07/2000 03:49:07
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Type mismatch
Divers
Thread ID:
00392265
Message ID:
00392265
Vues:
46
Anybody please help me, I found confusing problem, when my form with the below codes run, the error message "Type mismatch occurs" .. why?

Dim mApp As String
Dim daoPBXConfig As Database
Dim rsPBXConfig As Recordset

Private Sub Form_Load()
'
mApp = App.Path & "\TeCS.MDB"
Timer1.Enabled = True
CurrPBXList.DatabaseName = mApp
'
Set daoPBXConfig = OpenDatabase(CurrPBXList.DatabaseName)
Set rsPBXConfig = daoPBXConfig.OpenRecordset("Select * from CurrPBXList")

With Form8
.Top = (Screen.height - .height) / 2
.Left = (Screen.width - .width) / 2
End With
'
End Sub

Thank you
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform