Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Convert value from cents to dollars

Posted on 2007-11-29
3
Medium Priority
?
13,022 Views
Last Modified: 2008-02-01
I am using ms access to generate reports for our online transactions.  My database uses linked csv tables which are downloaded periodically to update the data.  My problem is that the table my online credit card processing provider supplies me with reports the transaction amount in cents.  When I setup the linked table if I check the field as Currency I do not get the decimal I want.  ie $1.25 comes through as $125.  I see no way to tell access that I want a decimal before the last two digits.  Any suggestions?
0
Comment
Question by:wardjame
  • 2
3 Comments
 
LVL 19

Expert Comment

by:weellio
ID: 20380031
price * 100
0
 
LVL 19

Expert Comment

by:weellio
ID: 20380032
err
price / 100
0
 
LVL 46

Accepted Solution

by:
tbsgadi earned 750 total points
ID: 20380570
Hi,
There's no easy way to bring in the data straight to a table as Dollars.
You'll need to bring them in as cents & then create a query with a field TransactionDollars:transactionamount/100

Good Luck

Gary
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question