Custom Query

  • Thread starter Thread starter Paola
  • Start date Start date
P

Paola

I'm trying to customize a column response. I have the
following columns: date and hours
I'm trying to make sun: IIf([Date]=DateAdd("d",0,[date]),
[hours],0)
This would then make a "sun" column and give a response
of hours submitted on Sunday. With the following code,
I'm gettting all hours no matter what date.

Please assist.

Paola
 
If you add 0 days to any date, it should always equal its starting value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top