K
Kedd123
Does anyone see a problem with the following code? It does not do anything
(and there are no error messages). I am trying to turn the text under the
cloumn heading bold. The field name is LoginLot. There is no conditional
formatting and the report is based on a query.
Private Sub CommandPrintLogin_Click()
On Error GoTo Err_CommandPrintLogin_Click
Dim stDocName As String
stDocName = "QueryLoginrEPORT"
DoCmd.OpenReport stDocName, acViewPreview
Reports!queryloginreport!LoginLot.FontBold = True
Exit_CommandPrintLogin_Click:
Exit Sub
Err_CommandPrintLogin_Click:
MsgBox Err.Description
Resume Exit_CommandPrintLogin_Click
End Sub
(and there are no error messages). I am trying to turn the text under the
cloumn heading bold. The field name is LoginLot. There is no conditional
formatting and the report is based on a query.
Private Sub CommandPrintLogin_Click()
On Error GoTo Err_CommandPrintLogin_Click
Dim stDocName As String
stDocName = "QueryLoginrEPORT"
DoCmd.OpenReport stDocName, acViewPreview
Reports!queryloginreport!LoginLot.FontBold = True
Exit_CommandPrintLogin_Click:
Exit Sub
Err_CommandPrintLogin_Click:
MsgBox Err.Description
Resume Exit_CommandPrintLogin_Click
End Sub