Solved

Need to do a compound filter for a CRecordSet

Posted on 2000-04-25
2
205 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

932 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

10 Experts available now in Live!

Get 1:1 Help Now