This can go anywhere. I run alot of reports this way, usually from a command button. Just put the code in the click event.