I'm using the following to set the font name for split form my datasheets:
But unfortunately the font is not changing.
I'm calling 'DataSheetProperties' form the On Load of the form.
This seems to be occurring with all my forms.
I'm using access 2010.
James
Code:
Public Function DataSheetProperties(frm As Form)
On Error GoTo DataSheetProperties_Error:
frm.DatasheetFontName = "Calibri"
frm.DatasheetFontHeight = 11
frm.DatasheetFontWeight = 400
On Error GoTo 0
Exit Function
DataSheetProperties_Error:
MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure DataSheetProperties of Module Database Operations"
On Error GoTo 0
Exit Function
End Function
But unfortunately the font is not changing.
I'm calling 'DataSheetProperties' form the On Load of the form.
This seems to be occurring with all my forms.
I'm using access 2010.
James