Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report filter help needed...

Status
Not open for further replies.

scotton

Technical User
Jun 20, 2005
27
US
This access database produces the LOA letters that we send to employees telling them what their benefits are and what they are required to pay while they are out on leave. The report also displays anyone that has a benefit with a future dated coverage begin date.
Several of our employees have a 3 month waiting period before they receive their benefits. My dilema is this: I have employees that have multiple future dated coverage begin dates because for coverage like medical that's a 3 month waiting period versus life insurance which is a 6 month waiting period. Since there are two different dates the correct date doesn't always display in my letter to the employee. I've tried sorting the query different ways and that doesn'thelp. I know I need to filter it somehow. Here is the derived field I'm using in my query to show employees that have current coverage and it shows the coverage date for future dated rows too:

NEXTCHKDT: IIf(MAXCHKDT!COV_BEGIN_DT>Date(),MAXCHKDT!COV_BEGIN_DT,DateAdd('d',14,MAXCHKDT!MAX_CHECK_DT))
 
Are the coverages in its own table?

Are you trying to send a letter for one, each or one letter for all coverages?

What is the date... The effective date of coverage?

Can you post the SQL from the recordsource of the report?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top