G
Guest
Along the lines of an earlier question..
I have a query that includes several fields that perform mathematical calculations. As makes sense, the results originally showed up to several decimal places (ie 12.35)
I am exporting my query to a text file. It is critical that the calculation data have no trailing decimal places ( ie 12, not 12.00). Rounding of the number would be fine
I thought I had it solved by changing the properties of the calculated field to a fixed number with 0 decimal places. The result looked good in the table. Unfortunately, when I export to the text file, I see the numbers continue to show up with two decimal places
Can anything be done in the query to round or truncate the calculation results
And..
The resultant text file must contain only the data (no headings, etc.). It must be tab delimited with no quote marks around any text data. It seems the Export command is the only solution. I see no way to perform the specified export in a macro. Correct me if I'm wrong. If so, are there any suggestions for how to implement the export command automatically
Thank you in advance. I know it's a longwinded question. Just my nature to be verbose
-Greg
I have a query that includes several fields that perform mathematical calculations. As makes sense, the results originally showed up to several decimal places (ie 12.35)
I am exporting my query to a text file. It is critical that the calculation data have no trailing decimal places ( ie 12, not 12.00). Rounding of the number would be fine
I thought I had it solved by changing the properties of the calculated field to a fixed number with 0 decimal places. The result looked good in the table. Unfortunately, when I export to the text file, I see the numbers continue to show up with two decimal places
Can anything be done in the query to round or truncate the calculation results
And..
The resultant text file must contain only the data (no headings, etc.). It must be tab delimited with no quote marks around any text data. It seems the Export command is the only solution. I see no way to perform the specified export in a macro. Correct me if I'm wrong. If so, are there any suggestions for how to implement the export command automatically
Thank you in advance. I know it's a longwinded question. Just my nature to be verbose
-Greg