I have a permissions table that "1" is inquire, "2" is update and "3" is delete in the "Permissions" field.
Not for sure how to do this, but thought it would be something like this as far as setting a variable for the users permissions
strMyPermissions = "Select permissions from Security where LoginID = Forms!frmFacility.txtUpdatedBy;"
What I'm trying to do is assign the permission indicator to strMyPermissions, but what seems to be happening is its assigning the whole SQL statement to strMyPermissions. Any suggestions?
Thanks in advance,
Kacy
________
Rhode Island Medical Marijuana Dispensaries
Not for sure how to do this, but thought it would be something like this as far as setting a variable for the users permissions
strMyPermissions = "Select permissions from Security where LoginID = Forms!frmFacility.txtUpdatedBy;"
What I'm trying to do is assign the permission indicator to strMyPermissions, but what seems to be happening is its assigning the whole SQL statement to strMyPermissions. Any suggestions?
Thanks in advance,
Kacy
________
Rhode Island Medical Marijuana Dispensaries
Last edited: