Information générale
Catégorie:
Codage, syntaxe et commandes
>>After having release the connections the VB6 program still
>>prompt erro in connection being used exclusively.
>>
>>(1) connection to Access Database
>>(2) rsStaff.Close
>> Set rsStaff = Nothing
>> cnn.Close
>> Set cnn = Nothing
>>(3) When Compact the DB, it prompt error of database already
>> opened exclusively.
>>
>>Doesn't the (2) statement already free off the connection? Thanks.
>
>Do you have bound controls? Reports?
No. Initial connection is for user to login, and checking of UserID
and Password only. Then, I will close all connection(mentioned about)
and start to Compact the database before actual main menu appear. Thanks.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement