|
-
Nov 12th, 1999, 06:02 AM
#1
I need to build an .exe. This program will search the database for a specific user_login and make that users password=Null.
How would I begin this. I am reletivitly inexerpeiced to Db connections. I know i will have to extablish an ODBC connectioon.
PLeas help
-
Nov 12th, 1999, 12:20 PM
#2
Guru
you could try something like this using ado:
dim cn as new connection
cn.open <connectionstringhere>
cn.execute "update tablenamewithusersandpasswords set password = '' where username = 'bob'"
cn.close
it establishes a connection to your database, executes a SQL statement to set the password to a zero length string/null, and closes the connection.
HTH
Tom
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|