Decimal place prob!!!

bakeram

New Member
Joined
Jul 15, 2004
Messages
2
I have a make table query and eventhough I have specified the field to be a fixed number with two decimal places, when the query is executed and the table is created, the number still comes out as a number with about 8 or 9 decimal places, can anyone help??? Thanks
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
As far as I know a make table query won't carry over formatting.

Wny not create a table with the fields and formatting you want?

Then rather than a make-table query use an append query.

This might not be suitable for your needs but it is one answer.
 
Upvote 0
I think the only other way would involve VB coding.
 
Upvote 0
you could probably do it using functions to fix the decimals

fixed:(CInt([myValue]*100))/100

Not tested but may work

HTH

Pter
 
Upvote 0

Forum statistics

Threads
1,221,780
Messages
6,161,888
Members
451,730
Latest member
BudgetGirl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top