I have a function (called FillList) which returns a recordset of information to populate a ListView control. When I try setting the Sort property on this recordset, I get the following error:
'Order cannot be opened'
It will allow me to set the sort to one field, but not two or more. What am I missing here?
Here is a sample of the code:
Set oRecordset = FillList(sJobNumber, sRootPath)
oRecordset.Sort = "SortOrder, JobNumber"
Thanks in advance.
'Order cannot be opened'
It will allow me to set the sort to one field, but not two or more. What am I missing here?
Here is a sample of the code:
Set oRecordset = FillList(sJobNumber, sRootPath)
oRecordset.Sort = "SortOrder, JobNumber"
Thanks in advance.