• Assuming that the query you have written works correctly when @Course or @Grade are specified then :

    1. Create the parameter and make sure to allow nulls

    2. Add an available value as (NULL) either within the query (if using a dataset) or hard-coded

    3. Set the default to (NULL)

    I have reproduced your requirement using the process above.

    Fitz