Solved

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

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

730 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