Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to use MaskEdBox to format 2 char currency symbol ?

Posted on 2000-05-08
7
Medium Priority
?
428 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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 150 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…
Suggested Courses

610 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