Retrieving Date in tabular Report

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nathan Bloom

    #1

    Retrieving Date in tabular Report

    Hi,

    I have a tabular report with a date field. The report is group by weeks.
    Is there a way to retrive the date of the first record of each group and use
    that date in the group footer. I would like to put something likethe
    following in the footer:

    For the week beginning [Date of first record] there were [Records]

    Thanks for any help provided in advance.
    Nate


  • PC Datasheet

    #2
    Re: Retrieving Date in tabular Report

    Presuming your report is based on a query named MyReportQuery:

    Me!FooterLabel. Caption = " For the week beginning " _
    & DMin("[NameOfDateField]","MyReportQuer y") _
    & " There Were " _
    & DCount("*","MyR eportQuery") _
    & " Records"

    --
    PC Datasheet
    Your Resource For Help With Access, Excel And Word Applications



    "Nathan Bloom" <natebloom@eart hlink.net> wrote in message
    news:cfSib.659$ 7a4.192@newsrea d4.news.pas.ear thlink.net...[color=blue]
    > Hi,
    >
    > I have a tabular report with a date field. The report is group by weeks.
    > Is there a way to retrive the date of the first record of each group and use
    > that date in the group footer. I would like to put something likethe
    > following in the footer:
    >
    > For the week beginning [Date of first record] there were [Records]
    >
    > Thanks for any help provided in advance.
    > Nate
    >
    >[/color]


    Comment

    Working...