G
Giz
Hi,
Is there a way to set the format for a field in a query. I have built an
expression in a query field that combines the day, month, and year from 3
respective fields in a table so that my new "date" field in the query
combines all three. For reference it looks like this:
DATE: [year] & IIf([month]<10,"0" & [month],[month]) & IIf([day]<10,"0" &
[day],[day])
The result of this expression is a date that looks like "19940124", for
example, for jan 24, 1994. I want the result of this to be a number formatted
field, but the result is a text formatted field. Is there a way to designate
this as a number in a query, without having to make the query a "make table"
query then changing the format in the resulting table?? thanx
Is there a way to set the format for a field in a query. I have built an
expression in a query field that combines the day, month, and year from 3
respective fields in a table so that my new "date" field in the query
combines all three. For reference it looks like this:
DATE: [year] & IIf([month]<10,"0" & [month],[month]) & IIf([day]<10,"0" &
[day],[day])
The result of this expression is a date that looks like "19940124", for
example, for jan 24, 1994. I want the result of this to be a number formatted
field, but the result is a text formatted field. Is there a way to designate
this as a number in a query, without having to make the query a "make table"
query then changing the format in the resulting table?? thanx