I am new to MS Access VBA.. I have imported the log file to the table and would like to extract to another table. 1) all logs/records where DATE_Field = Weekend. 2) all logs/records where DATE_Field is weekday AND Time_Field between 22:00 and 05:00
I tried Query and tried to convert the date field using "datename" but error says there is no valid function with that name
DoW: datename([LogFile].Date)
I would like to extract all logs which are 1) all logs/records where DATE_Field = Weekend. 2) all logs/records where DATE_Field is weekday AND Time_Field between 22:00 and 05:00