Using reporting scripts have both pros and cons. In all cases, the cons are always that the reporting script has limited functionality. By using events handlers you have the full support of what the Object Pascal language (RTL, FCL and any other libraries) have to offer.