Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: ms-access 内置函数 Month(number)
在我的一个查询中,我具有以下功能。
DateSerial(Date(),[Roster]![DOH],[Roster]![DOH])
当我调用查询时,我收到一个溢出错误。我做错了什么?
因此,如果[DOH]是雇用日期,并且您想要当年的周年纪念日,请使用:
[DOH]
DateSerial(Year(Date()), Month([Roster]![DOH]), Day([Roster]![DOH]))