J
john
The question is should it work to use a function variable like I do for
WHERE statements, it goes and gets the variable, and the query opens, but is
not sorted.
Function lstSortOrder() As String
lstSortOrder = "BookList.Queue" 'There will be more than one result if
I can get this to work
End Function
Then in my Query for the ORDER BY I write,
ORDER BY lstSortOrder();
Which should return,
ORDER BY BookList.Queue;
WHERE statements, it goes and gets the variable, and the query opens, but is
not sorted.
Function lstSortOrder() As String
lstSortOrder = "BookList.Queue" 'There will be more than one result if
I can get this to work
End Function
Then in my Query for the ORDER BY I write,
ORDER BY lstSortOrder();
Which should return,
ORDER BY BookList.Queue;