Thanks again for helping a complete fool
i missed something out again doh!
I will start again and maybe you could suggest a better way than the way
iam
doing it
i have a form that users enter a name, pay number and start date and this
goes into a table called "details". (Just a bit of background here
employers
have a two year competency cycle and must have following assessments
"fda1"
within 6 months of start date, otmr1 12 months of start date, fda2 within
12
months of start date but after first 6 months basically 6 - 12 months
after
start, interim within 11th and 12th month from start date, and the same
for
second year only fda3, otmr2, fda4 and summary headings.
The table has the above headings but the field for each employee is blank
where no assessment has been done. so for e.g
name start date fda1 otmr1 etc
fred 10/04/06 12/06/06 etc
Now i have made a query "details" that has all the names and has
calculated
the dates each assessment needs to be done by.
e.g
name start date fda1 otmr1 etc
fred 10/04/06 10/10/06 10/04/07 etc
What i require is a report when table (details) has a blank entry and the
date in the query "details" is within 30 days of today the report will
only
show name, assessment type and date needed to be done and not the whole
record.
hope this helps and thanks again
Allen Browne said:
You can create the query, with the criteria under the fda1 and otmr1
fields.
You can then create a report based on the query. In the report, you will
need to use IIf() expressions in the ControlSource of your text boxes,
e.g.:
=IIf(Abs(DateDiff("d",[fdma1], Date())) < 30, "fda1", "otmr1")
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
DManager said:
Hi
thanks for taking the time to help me
I did what you said and it is not what i had in mind i didnt explain
it
correct so sorry
It should have said
i have a table with NAME, START DATE, FDA1, OTMR1, FDA2, INTERIM as
headings
underneath the headings dates are inserted when completed by means of a
form
Now, i have a query that pulls the names from the table and adds 6
months
to the start date and puts the date in fda1 column, 12 months for otmr1
column (this is the due by date) in the query (not the table)
what i require is a report that only pulls the name, type and date when
its
due within 30 days of today for e.g.
me fda1 20 nov 06
another otmr1 19 nov 06
and not the whole record
Hope this explained it better
thanks again for your help