Bruce,
Since your sub is receiving the password in in the variable 'pword', shouldn't you use that in your dbcon.open line instead of 'age' (the password itself)? On the other hand, if you want to hardcode the sub with this specific password, shouldn't you enclose it in quotes (e.g. "age")?
Ron