Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Convert value from cents to dollars

Posted on 2007-11-29
3
12,733 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 250 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

856 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