G
Guest
I am using the TransferSpreadsheet action in Access to send a table to an
excel spreadsheet. The table is made from an action query. At the query
level, a calculation is performed to create a new field that will result in a
numeric field that can contain up to 7 decimal places. (Formatting the fields
at the table level only apply to new records, thus, not affecting the
existing records. Also useless to set up because when the "make table query"
is run, it dumps that table and creates a new one; changes those numeric
fields decimal places to "auto". I can not find a way to set the properties
at the query level either.)
When the table goes to excel, it retains the decimal places. I would like to
reduce all the decimal places to 0, having only whole numbers, either before
it leaves Access or when it gets to Excel. Is there a way to make that
happen?
I am using Office 2000 version for Access and Excel. The TransferSpreadsheet
action is attached to a button on a form and also can be used from a custom
menu (on click event).
Thanks for your help. Donna
excel spreadsheet. The table is made from an action query. At the query
level, a calculation is performed to create a new field that will result in a
numeric field that can contain up to 7 decimal places. (Formatting the fields
at the table level only apply to new records, thus, not affecting the
existing records. Also useless to set up because when the "make table query"
is run, it dumps that table and creates a new one; changes those numeric
fields decimal places to "auto". I can not find a way to set the properties
at the query level either.)
When the table goes to excel, it retains the decimal places. I would like to
reduce all the decimal places to 0, having only whole numbers, either before
it leaves Access or when it gets to Excel. Is there a way to make that
happen?
I am using Office 2000 version for Access and Excel. The TransferSpreadsheet
action is attached to a button on a form and also can be used from a custom
menu (on click event).
Thanks for your help. Donna