
Signature
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
I'm not sure where I would use that, but under the properties of the Date
query field, I set yyyy-mm-dd in the format field of the properties.
However, that works for the visual results inside the database, but still
wants to export the empty time.
>> My query includes a date field (namely named 'Date') which, when
>> exported, includes the data, plus the addition of a null time
[quoted text clipped - 14 lines]
> format the date the way you want and then export the query instead of the
> table.
Rick Brandt - 11 Jan 2006 01:53 GMT
> I'm not sure where I would use that, but under the properties of the
> Date query field, I set yyyy-mm-dd in the format field of the
> properties. However, that works for the visual results inside the
> database, but still wants to export the empty time.
As I said, the format properties are PRECISELY responsible for display within
the Access GUI they do not affect the actual data and therefore do not affect
what is exported. If you build a query you can use the format function to
transform your date into a string that has the format you want and then you
export the query instead of the table.

Signature
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
magmike - 11 Jan 2006 03:29 GMT
How do I use the Format function? In the Criteria field? I'm not writing raw
SQL here. I'm using the Query Design View.
PS - I AM exporting from the query.
>> I'm not sure where I would use that, but under the properties of the
>> Date query field, I set yyyy-mm-dd in the format field of the
[quoted text clipped - 6 lines]
> function to transform your date into a string that has the format you want
> and then you export the query instead of the table.
Rick Brandt - 11 Jan 2006 03:41 GMT
> How do I use the Format function? In the Criteria field? I'm not
> writing raw SQL here. I'm using the Query Design View.
>
> PS - I AM exporting from the query.
In your query where you currently have the name of your date field [Date] (which
is a bad name for a field BTW since that is a reserved word) replace that
with...
Format([Date], "YYYY-MM-DD")

Signature
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
magmike - 12 Jan 2006 02:41 GMT
> Format([Date], "YYYY-MM-DD")
Worked beautifully! Thanks