I made a mistake you will have to put ";pwd=PASSWORD" in the connect property
of the datacontrol without the quotes with the semicollon,

TM



"Radjan" <radjan77@rediffmail.com> wrote:
>
>I am using a MS Access 97 Database in my Visual Basic 6.0 project. I am

using
>a Data control to access my database.
>
>THe problem is if I protect my database using a password, my application
>shows some error and does not run.
>
>Please give me some suggestions
>
>Radjan