View Single Post
  #3 (permalink)  
Old May 11th, 2004, 01:57 PM
Ron Howerton Ron Howerton is offline
Friend of Wrox
Points: 2,702, Level: 21
Points: 2,702, Level: 21 Points: 2,702, Level: 21 Points: 2,702, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Denver, CO, USA.
Posts: 425
Thanks: 57
Thanked 2 Times in 2 Posts
Default

I wish your example would work, but it doesn't. I'm getting this error:

"Operator is not valid for type 'DataRowView' and string "Annual Leave"."

on this line:

If v_cboSearch.Items.Item(intPos) = v_strValue Then

I don't understand how Items.Item(x) references a DataRowView. Why doesn't it simply point to the DisplayValue? What am I doing wrong?!?!?
Reply With Quote