Hi:
I have a table with the following fields:
tblUser
UserID, User, 2003_Days, 2004_Days (etc.)
I want to build a dynamic query so that I can select either [2003_Days] or [2004_Days] based on the year of an input date.
I'm trying something like:
tblUser."["&str(year([InputDate])&"_Days"][\color]
but get error messages.
I would appreciate any help with this!
Jim DeGeorge
I have a table with the following fields:
tblUser
UserID, User, 2003_Days, 2004_Days (etc.)
I want to build a dynamic query so that I can select either [2003_Days] or [2004_Days] based on the year of an input date.
I'm trying something like:
tblUser."["&str(year([InputDate])&"_Days"][\color]
but get error messages.
I would appreciate any help with this!
Jim DeGeorge