hi,
i really struggled for more than 15 days to solve a problem but i couldn't.
i have a form, let's say form A and a subform B and a third subform C for the form B. C related to B and B related to A . so when i put for exemple "France" in A i put records in B like " Paris" and i put "all the Paris's villages" in C ,then go to next in Form B and put "Toulouse" and i put "all the Toulouse's villages" and go on, but still keeping "France" in A. then i go to next in Form A and put other Country,...... i hope you imagine the view
my problem is when i use the navigation buttons in the Form A to move from Country to Country ,i want to go to a specific record in the form B ,like go to "Toulouse"
i have a button "btn_moveto " in form B which help me to go to the desired record using a textbox "txt_moveto" where i put the number of the record i want to go to.
the code of "btn_moveto" button is : docmd.gotorecord, , ,acgoto, me.txt_moveto
so in the navigation buttons in the Form A , i add a code to help me presse the button "btn_moveto " in form B when i move from record to record.
the code in the navigation buttons in the Form A is : call controls("Form A").Form.btn_moveto_click
when i move using the navigation buttons in the Form A , it doesn't work
i really struggled for more than 15 days to solve a problem but i couldn't.
i have a form, let's say form A and a subform B and a third subform C for the form B. C related to B and B related to A . so when i put for exemple "France" in A i put records in B like " Paris" and i put "all the Paris's villages" in C ,then go to next in Form B and put "Toulouse" and i put "all the Toulouse's villages" and go on, but still keeping "France" in A. then i go to next in Form A and put other Country,...... i hope you imagine the view
my problem is when i use the navigation buttons in the Form A to move from Country to Country ,i want to go to a specific record in the form B ,like go to "Toulouse"
i have a button "btn_moveto " in form B which help me to go to the desired record using a textbox "txt_moveto" where i put the number of the record i want to go to.
the code of "btn_moveto" button is : docmd.gotorecord, , ,acgoto, me.txt_moveto
so in the navigation buttons in the Form A , i add a code to help me presse the button "btn_moveto " in form B when i move from record to record.
the code in the navigation buttons in the Form A is : call controls("Form A").Form.btn_moveto_click
when i move using the navigation buttons in the Form A , it doesn't work