G
Guest
I'm trying to copy a value from a control to a table using INSERT INTO. The
problem I'm having is referencing the control properly.
I'm running this in the Before Update of a control on a subform of a subform
of the mainform:
DoCmd.RunSQL "INSERT INTO Table (Field) VALUES
(Me.Subform1.Form.Subform2.Form.ControlName)"
What am I doing wrong?
problem I'm having is referencing the control properly.
I'm running this in the Before Update of a control on a subform of a subform
of the mainform:
DoCmd.RunSQL "INSERT INTO Table (Field) VALUES
(Me.Subform1.Form.Subform2.Form.ControlName)"
What am I doing wrong?