G
Guest
I am using the following to assign a control source to a text box on a form.
Me.dteDay3.ControlSource = "=DateAdd(" & "d" & ", 8,
[Forms]![frmPromoCurrent].[StartDate])"
When it executes to code it puts ?Name in the text box. However, if I simply
place the code in the control source of the text box (without the ") then it
works fine. Of course I have to leave the " around the d. Any answers?
Me.dteDay3.ControlSource = "=DateAdd(" & "d" & ", 8,
[Forms]![frmPromoCurrent].[StartDate])"
When it executes to code it puts ?Name in the text box. However, if I simply
place the code in the control source of the text box (without the ") then it
works fine. Of course I have to leave the " around the d. Any answers?