Basically I have a report which I need sorting. This sorting should be controlled by 3 drop down sort options on the form 'Main Reports' (Sorting1, Sorting2, Sorting3). The code for the report is:
Private Sub Report_Open(Cancel As Integer)
mainsql = "SELECT Quote_Number, Company_Name, Date...