Because our code is going to reference the TypeTypeID dropdown on the SalesTransactionEntry window, you have to include that window in VBA, along with the Report Destination window. Be sure to export them together.
Add the Report Destination form to VBA, and add the ReportType dropdown list.
The trick is to traps the ReportType_Changed event. Normally, I'd trap the Window_Open event, but the logic behind this form changes the Report Type dropdown after the form opens. So trap the ReportType_Changed event and add the logic below.
