>My form is having record navigation buttons which can go forward and backward
>and also having a print report button.
>
>In my report button, I wrote
>Report form MyReport for ref_no>=thisform.text1.value and ;
>ref_no<=thisform.text2.value to print prompt
>
>After reporting, my record navigation buttons can't work properly....
>Why ? and How to correct it ?
The REPORT command will go to the end-of-file.
Try something like this:
local lnRecno
lnRecno = recno()
report form ...
if lnRecno <= reccount()
goto lnRecno
else
go bottom
endif
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)