Hi
I have three variables, sort1, sort2 and sort3 which are entered by the user via a form. Each combo box allows the user the same 4 options by which to sort a report. Sort1 has a default value, so if nothing is selected, I want the report sorted by that field. Otherwise, sort1 is the primary sort, sort2 is the secondary and sort3 further sub sorts. Can someone help me translate this into VB code?
I have three variables, sort1, sort2 and sort3 which are entered by the user via a form. Each combo box allows the user the same 4 options by which to sort a report. Sort1 has a default value, so if nothing is selected, I want the report sorted by that field. Otherwise, sort1 is the primary sort, sort2 is the secondary and sort3 further sub sorts. Can someone help me translate this into VB code?