Should have mentioned that images were demonstrational, as I was using macro to run/export query on table with the 2 fields setup as number-double type
Access export to csv
When exporing x-point and y-point data fields to csv format, the exported data has only 2 decimal places. IE -119.12345678, when opened in text field is -119.12, using UTF-8, Where might this be controlled. Might I have to change the field to a text type?
Export wizard 'sees' info correctly, but the text file contains only 2 dec places
Microsoft 365 and Office | Access | For home | Windows
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
4 answers
Sort by: Most helpful
-
Anonymous
2018-06-26T18:20:36+00:00 -
Anonymous
2018-06-26T23:42:48+00:00 Another technique is to explicitly cast the value as text using the Format() function:
ShowY = Format([Point_Y], "#.0000000")
will show the value with seven decimals.
-
Anonymous
2018-06-27T15:39:30+00:00 Thanks John, will try that, but is there a setting somewhere that tells the export to limit to 2 dec places? I was surprised/dismayed that it would do that on it's own accord, without my permission!! haha