I am exporting a query to a TXT file that is pipe delimited. I have about 15 fields in the query and all numbers must be fixed with no commas or dollar signs. When I run the query everything looks fine, but when I export the query to a text file, I have 2 fields that contain $ an ,'s. The fields are calculated like this;
IIf([net_money]<0,[net_money]*-1,[net_money])
When I view the file there are no dollar signs or commas, When I put them into a TXT file I get the fields with the formatting which I do not want. I am exporting the file using this command;
DoCmd.TransferText acExportDelim, "Export_XXXX File", "qry_jXXXX", "J:\operations\PRD\Janus\" & Format(Date, "YYYYMMDD") & ".txt", True
Export_XXXX is the Specification file.
Any ideas?