Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BindingSource Filtering 1

Status
Not open for further replies.

zarkon4

MIS
Dec 16, 2003
641
0
0
US
I am trying to perform the following with a filter

BindingSource1.Filter = "NetDiff > .005, NetDiff < -.005"

I am getting an error generated from this. All of the examples I run across are for string type data. Will the filter only support string types? Do I have the syntax wrong?
 
Probably something like this:

Code:
BindingSource1.Filter = "NetDiff > .005 [b]AND[/b] NetDiff < -.005"
 
Thanks. After I posted I realized "oh yeah, not a comma, duh".
Overworked brain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top