Hello Everybody,
I'm using a ado data control and my problem is with the find method:
VB Code:
Adodc1.Recordset.Find sFieldName & " like '*" & Trim(txtSearchFor.Text) & "*'", , adSearchForward, 0
txtSearchFor.Text is a text box
when i'm searching on a string field i have no problem
but...
when i'm searching on a numeric field i get the following error:
Run-time error '-2147217881(80040e27)':
Find cannot be performed over the specified column,or compare
operator is invalid.
how can i use find on a numeric field ?
please H-E-L-P!!!
Thank you all in advance,
ERAN




Reply With Quote