Merge Form
ESPL can control the Merge tool for a particular date:
begin
mnuMerge.click;
SendKeys('~{TAB}AOL.15');
SendKeys('{TAB}{TAB}{TAB}{TAB}11-01-99');
SendKeys('{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}');
SendKeys('{RETURN}');
end;
After displaying the merge form, use SendKeys to navigate the form as if
pressing keys at the keyboard. The form displays with focus on the Browse
button, so ~{TAB} is sent to back up into the Source box. Once
in the source box AOL.15 is entered for the symbol. Then
tab four times to get to the Start date box and enter 11-01-99. Then
tab six times to put focus on the Merge button, and Return causes that button to
click to perform the merge.
|