Solved

Need to do a compound filter for a CRecordSet

Posted on 2000-04-25
2
204 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 150 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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 clear a vector as well as how to detect empty vectors in C++.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now