Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim ctl as control
for each ctl in Me
if (ctl.controltype = acCheckBox) then ctl = True
next
[blue] Dim SQL As String, Tgl As String
SQL = "UPDATE [purple][b]YourTableName[/b][/purple] SET [print_flag] = "
If Me!print_flag Then
Tgl = "False;"
Else
Tgl = "true;"
End If
DoCmd.RunSQL SQL & Tgl
Me.Requery[/blue]