D
Dave
Hi, all
I have a form "log" with tabs on it ,one of the tabs via a button opens a
form called "Date_Status_Form" embedded in this form I have a subform
"Top_Date_Status_Query" which displays data in a continues format. At the
moment I have placed a control button on the "Date_Status_Form" with the
following code
Forms!Log.TabCtl0.Value = 2
Forms!Log.RecordsetClone.FindFirst _
"[IDAndProjectRef]='" &
Me.Top_Date_Status_Query.Form.[txtIDAndProjectRef].Value & "'"
Forms!Log.Bookmark = Forms!Log.RecordsetClone.Bookmark
so when I select a record in the subform and click the button on the
Date_Status_Form" the "log" form selects the record from the the data in a
text box called "txtIDAndProjectRef"
The above idea works with no problems, however how would I modify the code
so all I need to do would be to double click any of the "txtIDAndProjectRef"
fields in the "Top_Date_Status_Query" subform to select the record in the
"log" form.
Thank you
I have a form "log" with tabs on it ,one of the tabs via a button opens a
form called "Date_Status_Form" embedded in this form I have a subform
"Top_Date_Status_Query" which displays data in a continues format. At the
moment I have placed a control button on the "Date_Status_Form" with the
following code
Forms!Log.TabCtl0.Value = 2
Forms!Log.RecordsetClone.FindFirst _
"[IDAndProjectRef]='" &
Me.Top_Date_Status_Query.Form.[txtIDAndProjectRef].Value & "'"
Forms!Log.Bookmark = Forms!Log.RecordsetClone.Bookmark
so when I select a record in the subform and click the button on the
Date_Status_Form" the "log" form selects the record from the the data in a
text box called "txtIDAndProjectRef"
The above idea works with no problems, however how would I modify the code
so all I need to do would be to double click any of the "txtIDAndProjectRef"
fields in the "Top_Date_Status_Query" subform to select the record in the
"log" form.
Thank you