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.
Public Function upperControl()
Dim ctrl As Access.Control
Set ctrl = Me.ActiveControl
If Not Trim(ctrl & " ") = "" Then
ctrl = StrConv(ctrl, vbProperCase)
End If
End Function
[blue]Set ctrl = Screen.ActiveControl[/blue]
Private Sub TestFormCode()
Dim ctl As Control
Dim frm As Form
Set frm = Forms("frmMyForm")
Set ctl = frm.ActiveControl
If Not Trim(ctl & " ") = "" Then
ctl = StrConv(ctl, vbProperCase)
End If
Set ctl = Nothing
Set frm = Nothing
db.Close
Set db = Nothing
End Sub