Link table field format puzzle

  • Thread starter Thread starter Han
  • Start date Start date
H

Han

I have one issue that doesn't make sense. Maybe some expert could help.

I have one table in MS SQL (2005), there are two fields.

GrossCost Numeric(15,2)
NetCost Numeric(15,2)

When I did an ODBC link table inside MS Access XP, the format of the two
fields are different. For example, GrossCost will show 16.00 and NetCost will
show 16 I open the link table in design view and find out the GrossCost's
[format] property are set to 'Fixed' while the NetCost's [format] property
are blank. Why Access treat the two fields differently if they have exact the
same format on SQL side? Anywhere I can setup on the MS SQL side to affect
the [format] property on Access side?

Thanks for any insights!
 
On Fri, 4 Jun 2010 13:08:00 -0700, Han <[email protected]>
wrote:

No you can't. Numeric is a data type that is poorly supported in
Access. It knows about real and double much better. Do you have the
option of changing to one of those?
When you attach a table Access may inspect the first couple of rows to
see what format to use. Depending on what it sees it may set the
format property differently.
However not all is lost. When you use this data in a form or report
you are free to set the format any way you want.

-Tom.
Microsoft Access MVP
 
Back
Top