kwame nkrumah
kwame nkrumah

Reputation:

vb access database password

how can one create a password on a visual basic access database when you have a vb datagrid

Upvotes: 1

Views: 454

Answers (3)

GNMercado
GNMercado

Reputation: 433

If you want to do it programmatically, set a password column inside your table. Then, if the username and password match, the user should be entering the system. Otherwise, display an error message. Just don't forget to call the table from your datagridview to access interface.

Upvotes: 0

Rootel
Rootel

Reputation: 149

In your Microsoft Access database. Go to

tools>security>set database password

Next make the connectionstring with the password you just entered. It will connect if you did it correcly.

Upvotes: 0

Chris McCall
Chris McCall

Reputation: 10397

First, create a username and password for your MSAccess database (tools> security> set database password) Next, make the connectionstring with the resulting password.

Then go about your biz, connecting as usual.

Upvotes: 2

Related Questions