Hi,
All
I found some code on this forum. That uses DLookup to find the field default value on a form. Is it possible to use this on muitlple fields? Other than copying this code twice and renaming getdefaultTID to getdefaultTID2 for another field
Thanks in advance
Shane
All
I found some code on this forum. That uses DLookup to find the field default value on a form. Is it possible to use this on muitlple fields? Other than copying this code twice and renaming getdefaultTID to getdefaultTID2 for another field
Thanks in advance
Shane
Code:
Function GetDefaultTID() As Long
GetDefaultTID = Nz(DLookup("YourFieldNameWhichHasTheSetting", "YourSettingsTableHere"), 0)
End Function