Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need to do a compound filter for a CRecordSet

Posted on 2000-04-25
2
Medium Priority
?
214 Views
Last Modified: 2010-04-02
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
Comment
Question by:dmiorio
2 Comments
 
LVL 1

Accepted Solution

by:
MT_MU earned 600 total points
ID: 2748802
Something like...

m_strFilter = "part_no > 50 AND part_no < 100";
0
 

Author Comment

by:dmiorio
ID: 2749081
Thanks - figured it out but really appreciate the help none-the-less.

Have a great one,
dawn
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question