G
Guest
Using Access 2003, is it possible to have a query create a text file with no
user intervention? Thanks
user intervention? Thanks
Allen Browne said:Export a query.
You can format the data as desired.
For example, type an expression like this into the Field row:
Format([MyDate], "Long Date")
or perhaps:
Format([Amount], "Currency")
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
Big Dog said:Allen:
are you available for another question associated with this topic? I have
an issue with some of the formatting of the data. Thanks.
Big Dog said:Allen:
My issue involves a dollar amount field that must be a fixed length with
leading zeroes and no character for the decimal point. ("000000043274" for
$432.74). The data is formatted OK in my query, but in the text file the
leading zeroes are lopped off and the physical decimal point is inserted
("432.74")
So it seems like it's happening during the export process, and I'm unable
to
figure out how to define the field in the export wizard to get what I
need.
thanks again
--
Bill Gable
Allen Browne said:Export a query.
You can format the data as desired.
For example, type an expression like this into the Field row:
Format([MyDate], "Long Date")
or perhaps:
Format([Amount], "Currency")
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
Big Dog said:Allen:
are you available for another question associated with this topic? I
have
an issue with some of the formatting of the data. Thanks.
Allen Browne said:How about:
Format(100 * [Amount], "000000000000")
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
Big Dog said:Allen:
My issue involves a dollar amount field that must be a fixed length with
leading zeroes and no character for the decimal point. ("000000043274" for
$432.74). The data is formatted OK in my query, but in the text file the
leading zeroes are lopped off and the physical decimal point is inserted
("432.74")
So it seems like it's happening during the export process, and I'm unable
to
figure out how to define the field in the export wizard to get what I
need.
thanks again
--
Bill Gable
Allen Browne said:Export a query.
You can format the data as desired.
For example, type an expression like this into the Field row:
Format([MyDate], "Long Date")
or perhaps:
Format([Amount], "Currency")
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
Allen:
are you available for another question associated with this topic? I
have
an issue with some of the formatting of the data. Thanks.