Still when exported to text fixed width, it does not show 4 places/
What a minute. What exactly are you trying to do?
Originally you said:
The number displays correctly in the query, however when I export to a text file (which is the format needed for an upload), the particular field has decimals places in it.
So, is the problem that it is showing decimals places when it should not;
or is the problem you want to show 4 numbers and it is not?
Please answer these following two questions (one I have already asked twice and you have yet to answer it):
1. What program are you using to view your output?
Do NOT use Excel, it will not give you an accurate picture of what the exported data really looks like. Excel will drop the leading zeroes upon opening the text file (it does its own auto conversion).
To
truly see what the data in a text file or CSV file looks like, open it in a Text Editor, like NotePad or WordPad.
2. Please provide a few data samples of this "Days Attending" field, showing what the entries in the table look like, and what you want the exported values to look like.