I have a table with membership data including effective date
If I run a query with the where clause as follows:
Select * from tablea Where eff_date between [startdate] and [enddate]
data includes
8 records with eff_date = 09/01/2008
10 records with eff_date = 10/1/2008
5 records with eff_date = 11/1/2008
If startdate = 10/1/2008 and enddate = 11/30/2008 I get a total of 5 records
If startdate = 11/1/2008 and enddate = 11/30/2008 I get 0 records
If startdate = 09/01/2008 and enddate = 10/31/2008 I get 10 records
The only thing I've noticed is that the eff_date data is imported from a text file and is originally imported as a text field. I use the CVDate(format(eff_date,"mm/yy/dddd")) function to convert it into a date field. I probably missed a step there but I have no clue as to what it could be.
If I run a query with the where clause as follows:
Select * from tablea Where eff_date between [startdate] and [enddate]
data includes
8 records with eff_date = 09/01/2008
10 records with eff_date = 10/1/2008
5 records with eff_date = 11/1/2008
If startdate = 10/1/2008 and enddate = 11/30/2008 I get a total of 5 records
If startdate = 11/1/2008 and enddate = 11/30/2008 I get 0 records
If startdate = 09/01/2008 and enddate = 10/31/2008 I get 10 records
The only thing I've noticed is that the eff_date data is imported from a text file and is originally imported as a text field. I use the CVDate(format(eff_date,"mm/yy/dddd")) function to convert it into a date field. I probably missed a step there but I have no clue as to what it could be.