Hi, I am trying to write a procedure that will allow the user to click a button on a subform, which opens another window, the user then selects the record they want and then clicks a button on this window to insert the contents of the second windows text box into the previous subforms textbox.
The following is the code I tried, where tbl_script_details Subform is the name of the subform
When I try to run this I get a object not found error. ThanksCode:Private Sub Command5_Click() Dim importString As String test_script.SetFocus importString = test_script.Text tbl_script_details.script_test_details.Text = importString End Sub




Reply With Quote