Cindy_B
Registered User.
- Local time
- Today, 14:36
- Joined
- Dec 9, 2002
- Messages
- 12
I am having problems exporting a query to a text file. I am not using any code or macros so far:
Users enter info on a form (combination of text, numbers and date)
Then there is a query that I need exported to a comma delimited text file.
There are problems:
1)The Short Date is showing up in the text file with the 0:00:00 time that CANNOT be there;
2)There MUST be quotes around the date and amounts, not just the text fields;
3)Amounts are showing up with "$" sign if I use Currency format and either with extra decimal places or no decimal places if I use Standard format.
This comma delimited text file will be used by an external source to update to their database. The programmer receiving this file has specified that the text file MUST BE comma delimited.
For example, I am getting this:
12/9/2002 0:00:00,"22222","200204",$50.50,$66.01,$66.01,$50.55,$50.55,$50.55,$50.55,$50.55,$50.55,$50.55,$0.00,$536.30,$0.00,"123456789"
When I need:
"12/9/2002","22222","200204","50.50","66.01","66.01","50.55","50.55",...,"123456789"
Thanks for any help!
Users enter info on a form (combination of text, numbers and date)
Then there is a query that I need exported to a comma delimited text file.
There are problems:
1)The Short Date is showing up in the text file with the 0:00:00 time that CANNOT be there;
2)There MUST be quotes around the date and amounts, not just the text fields;
3)Amounts are showing up with "$" sign if I use Currency format and either with extra decimal places or no decimal places if I use Standard format.
This comma delimited text file will be used by an external source to update to their database. The programmer receiving this file has specified that the text file MUST BE comma delimited.
For example, I am getting this:
12/9/2002 0:00:00,"22222","200204",$50.50,$66.01,$66.01,$50.55,$50.55,$50.55,$50.55,$50.55,$50.55,$50.55,$0.00,$536.30,$0.00,"123456789"
When I need:
"12/9/2002","22222","200204","50.50","66.01","66.01","50.55","50.55",...,"123456789"
Thanks for any help!