i want command to open form just if network username = administrator or manager
i try this code but didn't work,
if me.networkusername <> "administrator" or "manager" then
docmd.close
end if
also i tried this one
if me.networkusername <> "administrator" or me.networkusername <> "manager" then
docmd.close
end if
but not efected for second condition
i try this code but didn't work,
if me.networkusername <> "administrator" or "manager" then
docmd.close
end if
also i tried this one
if me.networkusername <> "administrator" or me.networkusername <> "manager" then
docmd.close
end if
but not efected for second condition