S syedadnan Access Lover Local time Today, 17:16 Joined Mar 27, 2013 Messages 315 Nov 26, 2014 #1 I want to control the edits of form like if the fields in form are Area, Location, Country, Map, Landline I want to stop edits on Map and Locations fields once saved yes but user can change rest fields
I want to control the edits of form like if the fields in form are Area, Location, Country, Map, Landline I want to stop edits on Map and Locations fields once saved yes but user can change rest fields
O omnibaer New member Local time Today, 05:16 Joined Oct 29, 2014 Messages 8 Nov 26, 2014 #2 Private Sub Form_Current() On Error Resume Next Me!Map.Locked = (Nz(Me!Map, "") <> "") Me!Locations.Locked = (Nz(Me!Locations, "") <> "") End Sub Always make sure you validate your fields when using them in functions (what Nz is for), or null errors may result. Cheers
Private Sub Form_Current() On Error Resume Next Me!Map.Locked = (Nz(Me!Map, "") <> "") Me!Locations.Locked = (Nz(Me!Locations, "") <> "") End Sub Always make sure you validate your fields when using them in functions (what Nz is for), or null errors may result. Cheers