It might help if you posted the exact error message and indicated what database you were using
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
Field name password is a access's reserved word.
Use,
str="update login set [password]=?"
__avd
Posting Genius (adatapost)
8,647 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
Please mark this thread as solved (since adatapost answered your question ;)) and good luck!
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
__avd
Posting Genius (adatapost)
8,647 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
Read post #10.
..list includes all words reserved by the Microsoft Jet database engine for use in SQL statements .
__avd
Posting Genius (adatapost)
8,647 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241