I have code which fills in a textbox based on a value in another (popup)form. This works fine but if I have this form open as a subform then although the textbox receives the focus , it does not allow the value to be filled in
Code:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "ezx_TimeClock"
DoCmd.OpenForm stDocName, acNormal, , , , acDialog, Me.Name & ".[txttime]"
Me!TxtTime.SetFocus
I can edit the text box by hand but it refuses to accept the value passed to it by the code
Any ideas??
Code:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "ezx_TimeClock"
DoCmd.OpenForm stDocName, acNormal, , , , acDialog, Me.Name & ".[txttime]"
Me!TxtTime.SetFocus
I can edit the text box by hand but it refuses to accept the value passed to it by the code
Any ideas??