Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OpenRowSet() and currency precision
Message
From
23/07/2021 10:03:55
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Title:
OpenRowSet() and currency precision
Miscellaneous
Thread ID:
01681915
Message ID:
01681915
Views:
42
We use OpenRowSet() to import Excel data. We discovered that if a field in Excel is formatted as currency that the import is maxed out at 4 decimals. We have values such as 0.13777. They are shown in Excel as 0.13$. They are imported at 0.1308. This creates an offset of 0.01$ in our total when we multiply that with a quantity as it is actually not the same value we have in our database. As anyone found a way to have the import respect the number of decimals in Excel or to simply import the real value when the field is formatted as currency?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform