C
Charles A. Lackman
Hello
I have created a Dataview and have sorted it on the Date and ShiftNumber
columns
this works great, but when I want to use the Find Method it gives me the
following error:
Expecting 2 value(s) for the key being indexed, but received 1 value(s).
I have tried the following:
Dim Names(1) as Object
Name(0) = TheDate
Name(1) = txtShiftNumber.text
X = ADataView.Find(Names)
and
X = ADataview.Find(TheDate)
Any assistance will be greatly appeciated.
Thank,
Chuck
I have created a Dataview and have sorted it on the Date and ShiftNumber
columns
this works great, but when I want to use the Find Method it gives me the
following error:
Expecting 2 value(s) for the key being indexed, but received 1 value(s).
I have tried the following:
Dim Names(1) as Object
Name(0) = TheDate
Name(1) = txtShiftNumber.text
X = ADataView.Find(Names)
and
X = ADataview.Find(TheDate)
Any assistance will be greatly appeciated.
Thank,
Chuck