J
Jani
I'm trying to have a text field default to a mainframe date format which is
text YYYYMM. If the current month is 3/1/2008 than the default MF date would
be 200802, if the current month is 4/1/2008, than the default date would be
200803, and so on. My table is just two fields: one with the Mainframe date
[CASDate]and one with the current month date [Current]. The formula below is
giving me a #Name? error and I can't figure out why as the fields are named
correctly: CASDate is the mainframe date; dbo_uDateTable is the table that
has the two fields, Current is the current date (3/1/2008 and so on) and the
DateSerial... provides the current month/year. I would appreciate it if
someone would tell me what I've done wrong. Thanks so much! Jani
=DLookUp([CASDate],[dbo_uDateTable],[Current]=DateSerial(Year(Date()),Month(Date()),1))
text YYYYMM. If the current month is 3/1/2008 than the default MF date would
be 200802, if the current month is 4/1/2008, than the default date would be
200803, and so on. My table is just two fields: one with the Mainframe date
[CASDate]and one with the current month date [Current]. The formula below is
giving me a #Name? error and I can't figure out why as the fields are named
correctly: CASDate is the mainframe date; dbo_uDateTable is the table that
has the two fields, Current is the current date (3/1/2008 and so on) and the
DateSerial... provides the current month/year. I would appreciate it if
someone would tell me what I've done wrong. Thanks so much! Jani
=DLookUp([CASDate],[dbo_uDateTable],[Current]=DateSerial(Year(Date()),Month(Date()),1))