Solved

In  an Access 2003 db "Input Box", Format a Field view as Money

Posted on 2008-10-25
2
314 Views
Last Modified: 2013-11-28
I have a "Input Box" in a command button Event Proceedure that I need the view of a Field value to be in money format. My "Input Box is:

QuestC = InputBox("You have Entered " & Forms("ClientMaterials").[Qunanty] & " Itens AT $" & Forms("ClientMaterials").[Average Cost per Unit] & "!" & "  Is This Correct?", "TYPE 'NO' TO CHANGE!")
 
and I want "[Average Cost per Unit] " it view as money.
0
Comment
Question by:SuperSnooper
2 Comments
 
LVL 10

Accepted Solution

by:
Luke Chung earned 250 total points
ID: 22804351
Have you tried using the format command like this?

Format(Forms("ClientMaterials").[Average Cost per Unit] , "Currency")

Luke
0
 

Author Closing Comment

by:SuperSnooper
ID: 31509984
Worked Perfectly...Great Job!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error in query expression 3 35
Change AD password via MS Access DB 2 17
Run Time Error 3071 26 36
Sub Reports 8 21
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now