M
Mac
Hi Everyone,
A hopefully straightforward question, I have a simple VBA public
function (see below) that calls part of a field value so that I can use
it in reports and so forth without having to constantly use the
function. Is there a way for me to pre-format the result so that when
it appears in a report or on a form it's in itallics? Apologies if this
has already been covered somewhere and I've not seen it.
TIA
Mac
Public Function SystemName() As String
SystemName = Mid(DLookup("Setting", "SystemOptions",
"OptionID='SystemName'"), 1, InStr(DLookup("Setting", "SystemOptions",
"OptionID='SystemName'"), ",") - 1)
End Function
A hopefully straightforward question, I have a simple VBA public
function (see below) that calls part of a field value so that I can use
it in reports and so forth without having to constantly use the
function. Is there a way for me to pre-format the result so that when
it appears in a report or on a form it's in itallics? Apologies if this
has already been covered somewhere and I've not seen it.
TIA
Mac
Public Function SystemName() As String
SystemName = Mid(DLookup("Setting", "SystemOptions",
"OptionID='SystemName'"), 1, InStr(DLookup("Setting", "SystemOptions",
"OptionID='SystemName'"), ",") - 1)
End Function