Hello,
I want to make a 'popup' asking for password on change of field.
Used code form third post in here:
http://www.mibuso.com/forum/viewtopic.php?t=13013
but I always get an error that pass is incorrect.
I add users in sql db, then in security->database logins in nav.
In debug, in recUser variable, should there be my encrypted password to compare with txtPassword (and recUser2.Password)?
mine recUser.Password is empty.
Any suggestions?
Comments
If you are using SQL Database logins, you could make a simple ADO connect with the user-id and password. If connection is ok, then the password is ok...
If you are using SQL Windows login, then I guess you need to make your own Automation Server. (A COM component) Unless you are using NAV2009R2? Then I guess you can do it using .NET interop...
Peter
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
But really there are numerous other (and better) ways to solve this. For example a bar code reader and each user having their own coded identifier tag that they scan.
However; I mainly make generic solutions that needs to work for SQL (RTC and Classic) and even the Native DB and support both Windows and Database logins. Then I would work hard to make a common solution, that isn't dependent on platform or login method.
Edit: I'm assuming you are using the Classic client and with SQL Database login. Otherwise see reply from Sog.
Peter
|To-Increase|
Thanks for suggestions and Your time
http://dynamicsuser.net/forums/p/9408/32318.aspx
http://wiki.dynamicsbook.com/index.php? ... oom_in_NAV
I havent tried it, but I guess it also disables the About this Page in the RTC. (Which is simular to Zoom in the Classic client)
Peter
Wow that takes me back a bit.