I'm attempting to pass the current record (or Me) from a Forms GotFocus event to a function in a module,
Code:
Public Function PrefixSet(xForm As ???) As Boolean
With xForm
...
End With
End Function
And get the contents of the various fields in the dropdown list inside With-End With (that opens with ".")
Initially I'm getting error With object must be user-defined type, Object, or Variant but suspect that's only the beginning of what I might have wrong.
What should I put for ???
I tried Object but noluck...
Thanks.