hello all ;P

this didnt work

Public Function SortGrid()

If cboSortOn.ListIndex = 0 Or cboSortOn.ListIndex = -1 Then
rsEquivalents.Sort = "Product Name"
Else
If cboSortOn.ListIndex = 1 Then
rsEquivalents.Sort = "Standard Pack Price Excl VAT"
End If
End If

End Function


it gave me this error

arguments are of the wrong type, are out of acceptable range, or are in conflict with one another

can anyone help me ?

thanx