I saw this topic in another thread, but I haven't been able to apply any of those tips.
I am trying to create a drill down from a text box and created a double click event to open a form and populate it with data keyed off of the value of the text box. I tried to do the Do.Cmd formname and in the wherecondition, I try to pass it the value of the text box from the first form, but it only opens the form and doesn't populate it with information from the current row. What am I missing? Do I need to create a recordset, populate the recordset then open the form. The form controls are bound to the tables. Do I need to run a query, populate a recordset, then make the assignment to the controls, or can I use queries that are predefined.
Any help would be most appreciated.
I am trying to create a drill down from a text box and created a double click event to open a form and populate it with data keyed off of the value of the text box. I tried to do the Do.Cmd formname and in the wherecondition, I try to pass it the value of the text box from the first form, but it only opens the form and doesn't populate it with information from the current row. What am I missing? Do I need to create a recordset, populate the recordset then open the form. The form controls are bound to the tables. Do I need to run a query, populate a recordset, then make the assignment to the controls, or can I use queries that are predefined.
Any help would be most appreciated.