Hi, Daniel Pineault
I do understand,
I will try to ask question that can be done by Macros.
Thank you for your kind help
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to make Login Form Using DCount and LookUp functions
My table has the following field LoginID, UserName, Password, Level and Description
Form has:
Combobox Named: "txtUser" bound column is 1 (LoginID) and I hide it by sitting Column Widths by 0
TextBox Named "txtPass"
Login Button and I use If function with AND but it does not work, access alway open the main form to me he did not use "else"
If
I did this DCount("LoginID","LoginT","UserName=[txtUser]" And "Password=[txtPass]")
I did this DCount("LoginID","LoginT","UserNamer=[txtPass]") And ("Password","LoginT","Password=[txtPass]")
I did this DCount("LoginID","LoginT","UserNamer=[txtPass]" And "Password","LoginT","Password=[txtPass]")
I did this DCount("Password","LoginT","Password=[txtPass]")
they did not work
if the txtUser and txtPass Mach and his Level is 1 as admin open the Main form as edit, else as Read only
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi, Daniel Pineault
I do understand,
I will try to ask question that can be done by Macros.
Thank you for your kind help
https://www.w3schools.com/asp/
https://www.w3school.com.cn/asp/asp\_intro.asp
classic asp is a dynamic web with VBScript which you can build a web application.
iis is ready for windows system.
if you want to public on Internet, you need rent a host like azure.