M
mojgan
I have a form called frmQuestionnaire and has a subform
questionnaireSubForm. There are two buttons in teh questionnaire form
'Next' and 'Previous'. By clicking on these, I open different forms i
the subform section. The following code makes sure the new form opene
in the subform section, starts from the top of the page:
Me![questionnaireSubForm].Form.GoToPage 1
This code is within the frmQuestionnaire. This is working perfectly.
BUT
within one of the subforms, frmSectionD, I have a button that will tak
you to frmSectionE. It does open frmSectonE perfectly, however, it doe
not open from the top of the page. It displays somewhere from th
middle section, and I need to scroll up to get to the top. I've use
the same code, for the button on frmSectionD, but it is not working:
Forms!frmQuestionnaire![questionnaireSubForm].Form.GoToPage 1
Any thought?
Please provide any hint. This has really wasted my time and I dont
know how to overcome it!
Thank you
questionnaireSubForm. There are two buttons in teh questionnaire form
'Next' and 'Previous'. By clicking on these, I open different forms i
the subform section. The following code makes sure the new form opene
in the subform section, starts from the top of the page:
Me![questionnaireSubForm].Form.GoToPage 1
This code is within the frmQuestionnaire. This is working perfectly.
BUT
within one of the subforms, frmSectionD, I have a button that will tak
you to frmSectionE. It does open frmSectonE perfectly, however, it doe
not open from the top of the page. It displays somewhere from th
middle section, and I need to scroll up to get to the top. I've use
the same code, for the button on frmSectionD, but it is not working:
Forms!frmQuestionnaire![questionnaireSubForm].Form.GoToPage 1
Any thought?
Please provide any hint. This has really wasted my time and I dont
know how to overcome it!
Thank you