you can reference a field in a table with
What I want to do: given a control i want to be able to get the table name in which the controlsource (ie. the field) to the control resides. Any suggestions?
PS I don't want to use a form reference (eg. Me.RecordSource) since the controlsource may have info from a different table then the rest of the form.
scratch
Code:
Me.txtTextbox.ControlSource
What I want to do: given a control i want to be able to get the table name in which the controlsource (ie. the field) to the control resides. Any suggestions?
PS I don't want to use a form reference (eg. Me.RecordSource) since the controlsource may have info from a different table then the rest of the form.
scratch
Last edited: