Duplicate Query Question (1 Viewer)

danbl

Registered User.
Local time
Yesterday, 20:59
Joined
Mar 27, 2006
Messages
262
I have large DB and I want to now look at duplicates. I used the Query Wizard to create a duplicate query. When I view the data without a date range I can see the duplicates by sorting the records. However when I add a date range to focus on specific periods of time I get no duplicate results??? The date range is specified by between [start] and [finish].
Can someone tell me what I am doing wrong???:confused:

Thanks
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Yesterday, 18:29
Joined
Feb 28, 2001
Messages
27,172
If you have no duplicates in the selected range, you would get no duplicates in the range-filtered query.

There is also the issue of whether you picked the right format for selecting the range.

Finally, there is such a thing as query layering. If you have a named/stored query to do the Dups check, use that query rather than the base table as the data source for the time range filtration.
 

danbl

Registered User.
Local time
Yesterday, 20:59
Joined
Mar 27, 2006
Messages
262
I have tried the query and get the same result ..... it is when I attempt to add the date range that I get no results.
 

plog

Banishment Pending
Local time
Yesterday, 18:29
Joined
May 11, 2011
Messages
11,645
Can you provide a sample of your database to demonstrate this issue?
 

danbl

Registered User.
Local time
Yesterday, 20:59
Joined
Mar 27, 2006
Messages
262
Surprise .... for me anyway ..... it was an issue of how the date parameter was entered.

Thanks to all of you
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Yesterday, 18:29
Joined
Feb 28, 2001
Messages
27,172
Yep - date strings and dates are not the same thing.
 

Users who are viewing this thread

Top Bottom