how to use MaskEdBox to format 2 char currency symbol ?

Posted on 2000-05-08
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 ?
Question by:eugeneng
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

Expert Comment

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

Expert Comment

ID: 2791082
please explain ur problem clearly


Expert Comment

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now


Author Comment

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.

Accepted Solution

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

Author Comment

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

Author Comment

ID: 2812694
thanx man..

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
VB 6 error 5 in windows 10 but not in XP 7 71
vbModal 12 73
Set email body to html using vbscript 6 89
can this macro be converted to sub procedure 4 31
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

738 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