boblarson
Smeghead
- Local time
- Yesterday, 20:40
- Joined
- Jan 12, 2001
- Messages
- 32,040
Sorry it took so long to get back to you. It has been a bear today at work and I haven't had time to look in on the forum (as evidenced by the spam that was on here too).
I THINK you can solve your last issue by moving the Me.Block = True to BEFORE the save of the record:
I THINK you can solve your last issue by moving the Me.Block = True to BEFORE the save of the record:
Code:
Private Sub Comando10_Click()
If Comando10.Caption = "unblock" Then
Comando10.Caption = "block"
Me.Block = False
Me.AllowEdits = True
Me.AllowDeletions = True
Me.AllowAdditions = True
Else
[color=blue] Me.Block = True[/color]
If Me.Dirty Then Me.Dirty = False
Comando10.Caption = "unblock"
Me.AllowEdits = False
Me.AllowAdditions = True
Me.AllowDeletions = False
End If
End Sub