Is there a fast/clean way of determining the field type (directly from the form)? I have a function that creates a shortcut menu when a control gets focus (pretty much every field/control on the form will do this).
Some of the options on this shortcut are in relation to filtering, and I want to be able to determine the actual field type (not the value within the field). I know that I can pole the table directly with something like this (ctl.name is the field that has focus).
However, if there is a better way without looking at the table directly, I think it might be more efficient.