Adding %%COURSEID%% marker to sql reports