Is there a way of setting the columns of a subform, to what ever columns are used when a query is run? The query itself takes in user input and based on those requirements it displays the result in the subform. So, the columns of the subform (in datasheet view) doesn't stay constant.