Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

CRecordSet m_strFilter <, > ???

Posted on 1998-05-12
2
441 Views
Last Modified: 2013-11-20
It is possible to Filter records between certain dates with the m_strFile, if so, how? if not, how?
0
Comment
Question by:lucidity
2 Comments
 
LVL 4

Accepted Solution

by:
piano_boxer earned 20 total points
ID: 1310091
Say you have a date/time field called time you would filter records the following way:

CMySet set;
set.m_strFilter = "(time >= #8/21/1997#) AND (time < #8/27/1997#)";
set.Open();
....

It will return all records from 8/21/1997 to and including 8/26/1997.
0
 
LVL 2

Author Comment

by:lucidity
ID: 1310092
A milllion thanks my friend
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sum67 challenge 35 107
NotAlone Challenge 20 84
mapAB Challlenge 35 156
Problem to App 4 97
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

840 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