Controlling Access To Forms
Insert this code in the OnOpenForm
trigger