Last working day of the month in LOV

I have a field for ‘date’.Is there a possibility in BO to display only the last WORKING days of each month when it prompts for date?
THANK YOU.


cris (BOB member since 2006-10-17)

You don’t say what database you are using, in Oracle we simply say:-

last_day(tablename.datename)

Mak 1 :uk: (BOB member since 2005-01-06)

Thank you for the reply.
we r working on Sybase and BO 5.1.8, FC.


cris (BOB member since 2006-10-17)

Hi,

Even last_day() won’t give you what you need, as it only returns the last day of the month, which won’t necessarily be a working day.

Most people build a Calendar table for this kind of query. The table would include a flag to indicate whether the day is a working day or not.

Good luck,
Judy


JMulders :us: (BOB member since 2002-06-20)

Doh! Judy,

Should have read the question better :oops:

Judys right, a calendar tables always the right way to go, although I have seen people on this board attempt to do this at report level…


Mak 1 :uk: (BOB member since 2005-01-06)

Thanks you both for replying.
Can you please let me know in more detail how to do this at the report level :?


cris (BOB member since 2006-10-17)

Try this to get you started:-

https://bobj-board.org/t/73436


Mak 1 :uk: (BOB member since 2005-01-06)