R
rm
I am attempting to create a report. The report is based off of the
following query:
SELECT dtDateTime, varBuildNum, varProjectName
FROM tblBuild
WHERE dtDateTime>#1/1/2007#
ORDER BY dtDateTime, varProjectName;
(I do not like the field names - but I did not create the database).
In the report I am attempting to format the field dtDateTime in the
"Expression Builder". I am using the "Format" function. In the help
system I found the page of examples - none of which works.
= Format([dtDateTime], "Long Time") 'Error
= Format([dtDateTime], "Long Date") 'Error
= Format([dtDateTime], "h:m:s") 'Error
= Format([dtDateTime], "hh:mm:ss AMPM") 'Error
= Format([dtDateTime], "dddd, mmm d yyyy") 'Error
(By the way good freaking luck finding a clear explanation of using
LIKE in a SQL statement in the help system. What happened? I worked
with Access many versions ago and know for a fact that a perfectly
clear explanation of the the LIKE operator existed. What has happened
to the help system in Access?!)
following query:
SELECT dtDateTime, varBuildNum, varProjectName
FROM tblBuild
WHERE dtDateTime>#1/1/2007#
ORDER BY dtDateTime, varProjectName;
(I do not like the field names - but I did not create the database).
In the report I am attempting to format the field dtDateTime in the
"Expression Builder". I am using the "Format" function. In the help
system I found the page of examples - none of which works.
= Format([dtDateTime], "Long Time") 'Error
= Format([dtDateTime], "Long Date") 'Error
= Format([dtDateTime], "h:m:s") 'Error
= Format([dtDateTime], "hh:mm:ss AMPM") 'Error
= Format([dtDateTime], "dddd, mmm d yyyy") 'Error
(By the way good freaking luck finding a clear explanation of using
LIKE in a SQL statement in the help system. What happened? I worked
with Access many versions ago and know for a fact that a perfectly
clear explanation of the the LIKE operator existed. What has happened
to the help system in Access?!)