Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Public Function RibbonVisible(blIsVisible As Boolean) As Byte
If blIsVisible Then
DoCmd.ShowToolbar "Ribbon", acToolbarYes
Else
DoCmd.ShowToolbar "Ribbon", acToolbarNo
End If
End Function
Private Sub Afbeelding52_Click()
Dim x As Variant
Dim sCheck As String
Dim sgebruiker As String
sgebruiker = "admin"
On Error Resume Next
Me.txtwachtwoord.SetFocus
If Me.txtwachtwoord.Text & "" = "" Then
MsgBox "Vul het wachtwoord in"
Exit Sub
End If
sCheck = "[Gebruikersnaam]='" & sgebruiker & "' AND [Wachtwoord]='" & Me.txtwachtwoord.Text & "'"
x = Nz(DLookup("[Gebruikersnaam]", "[Inlogtabel]", sCheck))
If Not x = vbNullString Then
SetProperties "AllowBypassKey", dbBoolean, True
MsgBox "De shift-toets is ontgrendeld!"
DoCmd.Close acForm, "Beheerderstoegang"
Else
MsgBox "Onjuist wachtwoord"
End If
End Sub
Private Sub Afbeelding53_Click()
On Error Resume Next
SetProperties "AllowBypassKey", dbBoolean, False
MsgBox "De shift-toets is vergrendeld!"
DoCmd.Close acForm, "Beheerderstoegang"
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.