My Assistant
|
|
Sep 15 2004, 01:37 PM
Post
#1
|
|
|
UtterAccess Guru Posts: 630 From: Florida, United States of America |
Ok All,
Here's the deal. I've have to figure out some logic that will basically only return every fifth record from a table. I have two fields in this table New Sales Calls and Reorder Calls. They are number fields. Basically, what I want the query to do is look at these two fields and determine starting from record one for that particular agent through to the last record for that particular agent and only return every fifth record. Basically, for each record there will be one new sales call or one reorder call. There won't be a time when they are the same. So both fields have to be taken into consideration. In other words my first two records might be new sales and the next three will be reorders. The fifth record in this case would pull the reorder since it's the fifth record. I hope I'm making sense. Thanks for any help. |
|
|
|
compicten2002 Help with logic for query Sep 15 2004, 01:37 PM
AJS Re: Help with logic for query Sep 15 2004, 02:02 PM
compicten2002 Re: Help with logic for query Sep 15 2004, 02:25 PM
AJS Re: Help with logic for query Sep 15 2004, 02:50 PM
compicten2002 Re: Help with logic for query Sep 15 2004, 03:11 PM
AJS Re: Help with logic for query Sep 15 2004, 03:17 PM
compicten2002 Re: Help with logic for query Sep 15 2004, 03:34 PM
AJS Re: Help with logic for query Sep 16 2004, 07:13 AM
compicten2002 Re: Help with logic for query Sep 16 2004, 07:53 AM
AJS Re: Help with logic for query Sep 16 2004, 08:06 AM
compicten2002 Re: Help with logic for query Sep 16 2004, 01:39 PM![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 25th May 2013 - 02:29 AM |