Solved

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

Posted on 2008-10-25
2
308 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:
LukeChung-FMS earned 250 total points
Comment Utility
Have you tried using the format command like this?

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

Luke
0
 

Author Closing Comment

by:SuperSnooper
Comment Utility
Worked Perfectly...Great Job!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
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…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

18 Experts available now in Live!

Get 1:1 Help Now