E
efandango
I have a subform control where I want to click a button and find a matching
record on another subform (which is on a different tab).
The forms are bound by a Master/Child record field called 'Run_No'
The main form is called: frm_Runs (this holds both the host subform and the
target subform)
The host subform is called : frm_Points
The form control that I want to use for the find is called:
'Run_point_Venue_L'
The target Subform is called: frm_Getrounds
The target subform control that I want find on is called: 'Note'
I want to be able to say: Find matching record contents for 'Note' where the
text/record content equals the contents of 'Run_point_Venue_L', based on
using the Master Child field, 'Run_No'.
I tried this code: .FindFirst "[Note] = " &
Forms![frm_Runs]![frm_Points].Form![Run_point_Venue_L] Where Run_No= " &
Forms!frm_Runs.Run_No"
but get an error saying 'Expected end of statement'
Can someone advise me on how to solve this problem?
record on another subform (which is on a different tab).
The forms are bound by a Master/Child record field called 'Run_No'
The main form is called: frm_Runs (this holds both the host subform and the
target subform)
The host subform is called : frm_Points
The form control that I want to use for the find is called:
'Run_point_Venue_L'
The target Subform is called: frm_Getrounds
The target subform control that I want find on is called: 'Note'
I want to be able to say: Find matching record contents for 'Note' where the
text/record content equals the contents of 'Run_point_Venue_L', based on
using the Master Child field, 'Run_No'.
I tried this code: .FindFirst "[Note] = " &
Forms![frm_Runs]![frm_Points].Form![Run_point_Venue_L] Where Run_No= " &
Forms!frm_Runs.Run_No"
but get an error saying 'Expected end of statement'
Can someone advise me on how to solve this problem?