I have this if statement at the end here CheckLock() the lbllocked.visable portion of it works fine. lbllocked is set to visible no as the default. allow edits and allow deltions are both set to default yes but even if i make it default no and take the if statement out it still lets me perform edits and deletions. I have also tried default no and left the if statement and the lbllocked portion still works fine and the allow edits and allow deletions still wont come off of yes / true.