Código dos forumlários adicionados:
Private Sub Form_Load()
Call fncPermissões(Me)
End Sub
If login.grupo = "Admins" then
me.Entrada.locked = False
me.saldo.locked = false
else
me.Entrada.locked = True
me.saldo.locked = True
Endif
Private Sub Form_Current()
If login.idGrupo = 2 AND (Not IsNull(Me.Entrada) Or Me.Entrada <> "")Then
Me.ENTRADA.Locked = False
Me.Saldo.Locked = False
Else
Me.ENTRADA.Locked = True
Me.Saldo.Locked = True
End If
Private Sub Form_Current()
If login.idGrupo = 2
Me.ENTRADA.Locked = False
Me.Saldo.Locked = False
Else
if IsNull(Me.Entrada) Or Me.Entrada <> "" Then
Me.ENTRADA.Locked = False
Me.Saldo.Locked = False
else
Me.ENTRADA.Locked = True
Me.Saldo.Locked = True
endif
End If