as part of your code is correct........
check once you get a value from database whether it is retrieved from there or not....
use msgbox pwd
it will show whethet value has been retrieved or not... If it is not? I hope no chance because database has been already connected and got a Login_name,
check the column name is pwd or something else...
"Easy method to connect to any database" --> open new text file and save as "babaDB.udl"
one icon will appear at the text file location, double click on that and select your desired database and provide the user name password... navigation would be very simple, you can understand easily... give the info what it asks and close it...
Right click on that icon and open with "Note Pad"...
copy the available text and keep it in your code at the place of
con.open "copied text here"
'use it if you feel difficult to remember all the server,localhost, username, password... etc.,
;D
check once you get a value from database whether it is retrieved from there or not....
use msgbox pwd
it will show whethet value has been retrieved or not... If it is not? I hope no chance because database has been already connected and got a Login_name,
check the column name is pwd or something else...
"Easy method to connect to any database" --> open new text file and save as "babaDB.udl"
one icon will appear at the text file location, double click on that and select your desired database and provide the user name password... navigation would be very simple, you can understand easily... give the info what it asks and close it...
Right click on that icon and open with "Note Pad"...
copy the available text and keep it in your code at the place of
con.open "copied text here"
'use it if you feel difficult to remember all the server,localhost, username, password... etc.,
;D

