Radio button set checked incorrectly
I have a radio button set that is checked as either "Local" or "Remote" in reference to if the user is looking for data on their current computer, or on a server. These users are part of Permission groups - called either LocalUsers or RemoteUsers. I have a "StartUP" script that runs when the database is opened, that is displayed on the attached image. I basically look for the Privilege set that the current user is a part of, and I adjust my variables and the radio-button field as appropriate. However, I've notices that if I login as part of the RemoteUser group, the "Local" button can be checked sometimes, and vice-versa. I need help here fixing this problem. Thanks.