Solved

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

Posted on 2008-10-25
2
319 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

840 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