Re: Formatting date query Column by week.

From: Gary Walter (garylwpleasenospam_at_wamego.net)
Date: 09/22/04


Date: Wed, 22 Sep 2004 17:11:59 -0500

Hi Raj,

Is "last day of work week" = Friday?

PIVOT [DateField]-(Weekday([DateField])-6)

If Saturday

PIVOT [DateField]-(Weekday([DateField])-7)

Please respond back if I have misunderstood.

Good luck,

Gary Walter

"Raj" <anonymous@discussions.microsoft.com> wrote in message
news:196601c4a0c5$82051870$a601280a@phx.gbl...
>
> I am using this function in a Cross Tab Format
> ([research_completed],"ww") to pull the weekly status for
> employees. What I would like to do is have the last day
> of the work week displayed at the top of the columns
> instead of the number of the week. I hope this is
> possible.
> Thanks
>



Relevant Pages

  • Re: Null Query
    ... [SomeField] ... Please respond back if I have misunderstood. ... Good luck, ... Gary Walter ...
    (microsoft.public.access.queries)
  • Re: Creating empty date field with make-table query
    ... > Another clever method Michel once demonstrated: ... > Please respond back if I have misunderstood. ... > Good luck, ... > Gary Walter ...
    (microsoft.public.access.queries)
  • Re: Need help w/ Challenging Query
    ... SELECT Branch, Billet ... Please respond back if I have misunderstood. ... Good luck, ... Gary Walter ...
    (microsoft.public.access.queries)
  • Re: Date range criteria
    ... "Gary Walter" wrote: ... > Please respond back if I have misunderstood ... > Good luck, ...
    (microsoft.public.access.queries)
  • Re: Licence for Access
    ... the link led to instructions to reinstal after renaming a ... >Hi Sheila, ... >Good luck, ... >Gary Walter ...
    (microsoft.public.access.queries)