Solved

how to use MaskEdBox to format 2 char currency symbol ?

Posted on 2000-05-08
7
420 Views
Last Modified: 2012-05-04
I'm a programmer from Malaysia, and our currency symbo is "RM" with are 2 characters, how can I set this format in the MaskEdBox to auto format the numeric data ?
0
Comment
Question by:eugeneng
[X]
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
7 Comments
 
LVL 1

Expert Comment

by:manchula
ID: 2790960
Where do you want to display RM? Can you please tell this clearly?
0
 

Expert Comment

by:b_samrat
ID: 2791082
hi
please explain ur problem clearly

samrat
0
 

Expert Comment

by:syedAliF
ID: 2791099
Set the mask property of maskedit control to get the required format.

RM#,##.##
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:eugeneng
ID: 2792228
I'm sorry about the my ambiguous question. Ok now, I placed a maskedit on my form and set the  "Mask" property to "RM #,###,###.##", and then I key in 1234 into the maskedit. When this maskedit lost the focus, the content of the maskedit become "RM 1,234,.". And if I erase the "Mark" property and set the "Format" to "RM #,###,###.00", if I key in "1234" again, when the maskedit lost the focus, the content get formated to "R5,#,###,###.00". How do I get "RM 1,234.00" when the maskedit lost the focus.
0
 
LVL 1

Accepted Solution

by:
manchula earned 50 total points
ID: 2792251
Try giving the same format R5,#,###,###.00 to both the Mask & Format Properties
0
 

Author Comment

by:eugeneng
ID: 2812692
manchula's method works, how do I give this the point ?
0
 

Author Comment

by:eugeneng
ID: 2812694
thanx man..
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maro to copy and paste from one worksheet to another based on a condition 11 63
Copy a row 12 69
Hide vba in gp 7 115
Export PDF Form fields to Access  or Excel  in Tab order 16 112
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

756 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