• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Need to do a compound filter for a CRecordSet

I want to filter on two different fields in a ODBC CRecordSet.  I was using the field m_strFilter, but don't know how to do a and/or type filter.

Please, any help would be really appreciated!!?!?!?!
0
dmiorio
Asked:
dmiorio
1 Solution
 
MT_MUCommented:
Something like...

m_strFilter = "part_no > 50 AND part_no < 100";
0
 
dmiorioAuthor Commented:
Thanks - figured it out but really appreciate the help none-the-less.

Have a great one,
dawn
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now