hello..how can I retrieve data for restricted the access level
here are my code
Is this the right code to retrieve data...
here are my code
Code:
Form_OnLoad()
Dim user as string
user = dlookup("UserType","tblUser","EmployeeID=" & [EmployeeID])
if user = "Admin" then
me.txtdel.visible = True
elseif user = "user" then
me.txtdel.visible = false
endif
Comment